python/aqmp: add asyncio_run compatibility wrapper
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Sep 2021 16:29:50 +0000 (12:29 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 27 Sep 2021 16:10:29 +0000 (12:10 -0400)
commitdebbabd77f340758099212985dac75b3c1bedd47
tree36c82abf45db2262da79644fe913ac8a85183260
parent41f4f92260da1c45f6b68f5965a30e503f394269
python/aqmp: add asyncio_run compatibility wrapper

As a convenience. It isn't used by the library itself, but it is used by
the test suite. It will also come in handy for users of the library
still on Python 3.6.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210915162955.333025-23-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/util.py