From 6986833f2fc65f81498a029bd7e116874cb6623d Mon Sep 17 00:00:00 2001 From: Marcin Usielski Date: Wed, 24 Jan 2024 10:10:32 +0100 Subject: [PATCH] moler/connection_observer.py --- moler/connection_observer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/moler/connection_observer.py b/moler/connection_observer.py index 820528ede..c94ef9bd5 100644 --- a/moler/connection_observer.py +++ b/moler/connection_observer.py @@ -44,11 +44,11 @@ def __init__(self, connection: AbstractMolerConnection = None, runner: Connectio :param connection: connection used to receive data awaited for """ super(ConnectionObserver, self).__init__() - self.life_status = ConnectionObserverLifeStatus() - self.connection = connection - self.runner = self._get_runner(runner=runner) + self.life_status: ConnectionObserverLifeStatus = ConnectionObserverLifeStatus() + self.connection: AbstractMolerConnection = connection + self.runner: ConnectionObserverRunner = self._get_runner(runner=runner) self._result = None - self._exception = None + self._exception: Exception = None self._exception_stack_msg = None self._future = None