qemu/scripts/qapi
John Snow 59b5556ce8 qapi/expr.py: constrain incoming expression types
mypy does not know the types of values stored in Dicts that masquerade
as objects. Help the type checker out by constraining the type.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210421182032.3521476-5-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2021-04-30 12:59:54 +02:00
..
__init__.py
.flake8
.isort.cfg
commands.py
common.py qapi: Permit flat union members for any tag value 2021-03-23 22:30:08 +01:00
error.py
events.py
expr.py qapi/expr.py: constrain incoming expression types 2021-04-30 12:59:54 +02:00
gen.py
introspect.py
main.py
mypy.ini
parser.py qapi: Enforce command naming rules 2021-03-23 22:31:05 +01:00
pylintrc
schema.py qapi: Rename pragma *-whitelist to *-exceptions 2021-03-23 22:31:05 +01:00
source.py qapi: Enforce command naming rules 2021-03-23 22:31:05 +01:00
types.py
visit.py