diff --git a/src/flexlogger/automation/_events.py b/src/flexlogger/automation/_events.py index 16ea93c..78d7b96 100644 --- a/src/flexlogger/automation/_events.py +++ b/src/flexlogger/automation/_events.py @@ -13,7 +13,7 @@ from concurrent.futures import ThreadPoolExecutor from google.protobuf.timestamp_pb2 import Timestamp from grpc import Channel, RpcError -from typing import Callable, Iterator +from typing import Callable, Iterator, List class FlexLoggerEventHandler: @@ -41,7 +41,7 @@ def __enter__(self): def __exit__(self, *args): self.unregister_from_events() - def get_registered_events(self) -> list[EventType]: + def get_registered_events(self) -> List[EventType]: """Gets the list of registered event types. Returns