(
        self,
        hardware: ThreadManagedHardware,
        motion_lock: ThreadedAsyncLock,
    )
Construct the session manager

        :param hardware: ThreadManagedHardware to interact with hardware
Construct the session manager
Construct the session manager
def __init__(
        self,
        hardware: ThreadManagedHardware,
        motion_lock: ThreadedAsyncLock,
    ):
        """
        Construct the session manager

        :param hardware: ThreadManagedHardware to interact with hardware
        """
        self._sessions: Dict[IdentifierType, BaseSession] = {}
        self._active = ActiveSessionId()
        # Create object supplied to all sessions
        self._session_common = SessionConfiguration(
            hardware=hardware,
            is_active=self.is_active,
            motion_lock=motion_lock,
        )
def __init__ ( self , hardware : ThreadManagedHardware , motion_lock : ThreadedAsyncLock , ) : self . _sessions : Dict [ IdentifierType , BaseSession ] = { } self . _active = ActiveSessionId ( ) # Create object supplied to all sessions self . _session_common = SessionConfiguration ( hardware = hardware , is_active = self . is_active , motion_lock = motion_lock , )