parameters: (
          self,
          hardware: ThreadManagedHardware,
          motion_lock: ThreadedAsyncLock,
      )
docstring: Construct the session manager
  
          :param hardware: ThreadManagedHardware to interact with hardware
docstring_summary: Construct the session manager
docstring_tokens: Construct the session manager
function: 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,
          )
function_tokens: 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 , )