Skip to content

Commit

Permalink
moler/connection_observer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Jan 24, 2024
1 parent f86f27b commit 6986833
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions moler/connection_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6986833

Please sign in to comment.