adds handle_connection autostart task to DeviceConnection

This commit is contained in:
Mose Müller 2024-01-16 16:31:34 +01:00
parent f1384b25a1
commit fc28b83bc5

View File

@ -7,7 +7,7 @@ import pydase
class DeviceConnection(pydase.DataService, ABC): class DeviceConnection(pydase.DataService, ABC):
def __init__(self) -> None: def __init__(self) -> None:
super().__init__() super().__init__()
# self._autostart_tasks = {"_handle_connection": ()} # type: ignore self._autostart_tasks = {"_handle_connection": ()} # type: ignore
self._handle_connection_wait_time = 2.0 self._handle_connection_wait_time = 2.0
@abstractmethod @abstractmethod