diff options
author | John Snow | 2021-04-21 20:20:19 +0200 |
---|---|---|
committer | Markus Armbruster | 2021-04-30 12:59:54 +0200 |
commit | 59b5556ce8c1d3dc1f2c6445ca32f2e515114a8e (patch) | |
tree | 7d19ea10ee27c5c02eb52747673d1126ed97ed51 /replication.h | |
parent | qapi/expr.py: Check for dict instead of OrderedDict (diff) | |
download | qemu-59b5556ce8c1d3dc1f2c6445ca32f2e515114a8e.tar.gz qemu-59b5556ce8c1d3dc1f2c6445ca32f2e515114a8e.tar.xz qemu-59b5556ce8c1d3dc1f2c6445ca32f2e515114a8e.zip |
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>
Diffstat (limited to 'replication.h')
0 files changed, 0 insertions, 0 deletions