[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/17] python/aqmp: add SocketAddrT to package root
|
From: |
John Snow |
|
Subject: |
[PULL 07/17] python/aqmp: add SocketAddrT to package root |
|
Date: |
Fri, 21 Jan 2022 19:09:21 -0500 |
It's a commonly needed definition, it can be re-exported by the root.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
---
python/qemu/aqmp/__init__.py | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/python/qemu/aqmp/__init__.py b/python/qemu/aqmp/__init__.py
index 173556404d..05f467c141 100644
--- a/python/qemu/aqmp/__init__.py
+++ b/python/qemu/aqmp/__init__.py
@@ -26,7 +26,12 @@
from .error import AQMPError
from .events import EventListener
from .message import Message
-from .protocol import ConnectError, Runstate, StateError
+from .protocol import (
+ ConnectError,
+ Runstate,
+ SocketAddrT,
+ StateError,
+)
from .qmp_client import ExecInterruptedError, ExecuteError, QMPClient
@@ -48,4 +53,7 @@
'ConnectError',
'ExecuteError',
'ExecInterruptedError',
+
+ # Type aliases
+ 'SocketAddrT',
)
--
2.31.1
- [PULL 00/17] Python patches, John Snow, 2022/01/21
- [PULL 02/17] python: use avocado's "new" runner, John Snow, 2022/01/21
- [PULL 03/17] python/aqmp: fix docstring typo, John Snow, 2022/01/21
- [PULL 01/17] python: pin setuptools below v60.0.0, John Snow, 2022/01/21
- [PULL 05/17] python/aqmp: handle asyncio.TimeoutError on execute(), John Snow, 2022/01/21
- [PULL 04/17] python/aqmp: add __del__ method to legacy interface, John Snow, 2022/01/21
- [PULL 06/17] python/aqmp: copy type definitions from qmp, John Snow, 2022/01/21
- [PULL 08/17] python/aqmp: rename AQMPError to QMPError, John Snow, 2022/01/21
- [PULL 09/17] python/qemu-ga-client: don't use deprecated CLI syntax in usage comment, John Snow, 2022/01/21
- [PULL 07/17] python/aqmp: add SocketAddrT to package root,
John Snow <=
- [PULL 12/17] python/qmp: switch qmp-shell to AQMP, John Snow, 2022/01/21
- [PULL 13/17] python: move qmp utilities to python/qemu/utils, John Snow, 2022/01/21
- [PULL 16/17] scripts/cpu-x86-uarch-abi: switch to AQMP, John Snow, 2022/01/21
- [PULL 14/17] python: move qmp-shell under the AQMP package, John Snow, 2022/01/21
- [PULL 15/17] scripts/cpu-x86-uarch-abi: fix CLI parsing, John Snow, 2022/01/21
- [PULL 10/17] python/qmp: switch qemu-ga-client to AQMP, John Snow, 2022/01/21
- [PULL 17/17] scripts/render-block-graph: switch to AQMP, John Snow, 2022/01/21
- [PULL 11/17] python/qmp: switch qom tools to AQMP, John Snow, 2022/01/21
- Re: [PULL 00/17] Python patches, Peter Maydell, 2022/01/22