commit | 10755a9536eaf134f86df1d32a47ee8b07c2f1b9 | [log] [tgz] |
---|---|---|
author | John Snow <jsnow@redhat.com> | Fri Mar 15 16:22:46 2024 +0100 |
committer | Markus Armbruster <armbru@redhat.com> | Wed Apr 24 10:03:54 2024 +0200 |
tree | be0e695e4bc715c96fb408f9acb69f52576e88c3 | |
parent | 9bda6c7d1108c13be67e615b50f5d1b61fa3177e [diff] |
qapi/schema: add type narrowing to lookup_type() This function is a bit hard to type as-is; mypy needs some assertions to assist with the type narrowing. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20240315152301.3621858-11-armbru@redhat.com>