Commit cbf9b4b9 authored by vruge's avatar vruge Committed by oroulet

avoid import for type checking

parent e3642e98
...@@ -10,12 +10,14 @@ from functools import partial ...@@ -10,12 +10,14 @@ from functools import partial
from typing import TYPE_CHECKING, Dict, Set, Union, List, Optional from typing import TYPE_CHECKING, Dict, Set, Union, List, Optional
from sortedcontainers import SortedDict # type: ignore from sortedcontainers import SortedDict # type: ignore
from asyncua import ua, Client from asyncua import ua, Client
from asyncua.sync import Subscription
from pickle import PicklingError from pickle import PicklingError
from .common import batch, event_wait, get_digest from .common import batch, event_wait, get_digest
from .virtual_subscription import VirtualSubscription from .virtual_subscription import VirtualSubscription
if TYPE_CHECKING:
from asyncua.sync import Subscription
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment