python/aqmp: add SocketAddrT to package root
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>
This commit is contained in:
parent
0e6bfd8b96
commit
728dcac5e3
@ -26,7 +26,12 @@ import logging
|
|||||||
from .error import AQMPError
|
from .error import AQMPError
|
||||||
from .events import EventListener
|
from .events import EventListener
|
||||||
from .message import Message
|
from .message import Message
|
||||||
from .protocol import ConnectError, Runstate, StateError
|
from .protocol import (
|
||||||
|
ConnectError,
|
||||||
|
Runstate,
|
||||||
|
SocketAddrT,
|
||||||
|
StateError,
|
||||||
|
)
|
||||||
from .qmp_client import ExecInterruptedError, ExecuteError, QMPClient
|
from .qmp_client import ExecInterruptedError, ExecuteError, QMPClient
|
||||||
|
|
||||||
|
|
||||||
@ -48,4 +53,7 @@ __all__ = (
|
|||||||
'ConnectError',
|
'ConnectError',
|
||||||
'ExecuteError',
|
'ExecuteError',
|
||||||
'ExecInterruptedError',
|
'ExecInterruptedError',
|
||||||
|
|
||||||
|
# Type aliases
|
||||||
|
'SocketAddrT',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user