xemu/python/qemu/aqmp
John Snow 42d73f2894 Python/aqmp: fix type definitions for mypy 0.920
0.920 (Released 2021-12-15) is not entirely happy with the
way that I was defining _FutureT:

qemu/aqmp/protocol.py:601: error: Item "object" of the upper bound
"Optional[Future[Any]]" of type variable "_FutureT" has no attribute
"done"

Update it with something a little mechanically simpler that works better
across a wider array of mypy versions.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20220110191349.1841027-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
2022-01-10 18:22:44 -05:00
..
__init__.py python/aqmp: Remove scary message 2021-11-01 11:54:59 -04:00
aqmp_tui.py python/aqmp: use absolute import statement 2022-01-10 18:22:33 -05:00
error.py python/aqmp: add error classes 2021-09-27 12:10:29 -04:00
events.py python/aqmp: Return cleared events from EventListener.clear() 2021-10-12 12:22:10 -04:00
legacy.py python/aqmp: Create sync QMP wrapper for iotests 2021-11-01 11:54:59 -04:00
message.py python/aqmp: add QMP Message format 2021-09-27 12:10:29 -04:00
models.py python/aqmp: Add dict conversion method to Greeting object 2021-10-12 12:22:10 -04:00
protocol.py Python/aqmp: fix type definitions for mypy 0.920 2022-01-10 18:22:44 -05:00
py.typed python/aqmp: add asynchronous QMP (AQMP) subpackage 2021-09-27 12:10:27 -04:00
qmp_client.py python/aqmp: fix send_fd_scm for python 3.6.x 2021-11-22 18:41:21 -05:00
util.py python/aqmp: add asyncio_run compatibility wrapper 2021-09-27 12:10:29 -04:00