John Snow 10755a9536 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>
2024-04-24 10:03:54 +02:00
..
2023-02-23 12:49:39 +01:00
2021-04-30 12:59:54 +02:00
2023-10-19 07:02:29 +02:00
2023-09-07 13:32:37 +02:00
2024-04-24 10:03:54 +02:00
2024-04-24 10:03:54 +02:00