diff options
| author | John Snow <jsnow@redhat.com> | 2020-10-09 12:15:56 -0400 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2020-10-10 11:37:49 +0200 |
| commit | 554df4f33f2076f973b4ae6bc55b5160f513634f (patch) | |
| tree | 6193b53ca65299f1536f038af10ecec7c9de0725 /scripts/qapi/schema.py | |
| parent | dec44d3d659446c333c52e0c95c996b6881f94d6 (diff) | |
| download | focaccia-qemu-554df4f33f2076f973b4ae6bc55b5160f513634f.tar.gz focaccia-qemu-554df4f33f2076f973b4ae6bc55b5160f513634f.zip | |
qapi/visit.py: assert tag_member contains a QAPISchemaEnumType
This is true by design, but not presently able to be expressed in the type system. An assertion helps mypy understand our constraints. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20201009161558.107041-35-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions