AbstractCreates a new session manager instance.
Jupyter server connection settings.
Protected_Currently active session connection. Most custom managers support only one session at a time.
Protected_Signal emitted when connection to session fails.
Protected_Signal emitted when manager is disposed.
Protected_Disposal state flag.
Protected_Ready state flag.
Protected_Ready promise that resolves immediately.
Protected_Signal emitted when running sessions change.
Abstract ReadonlymanagerType identifier for this session manager.
Jupyter server connection settings.
Signal emitted when session connection fails.
Signal emitted when manager is disposed.
Whether the manager is active and functional.
Whether the manager has been disposed.
Whether the manager is ready.
Promise that resolves when manager is ready.
Signal emitted when running sessions change.
Dispose of the session manager and all resources.
Find a session by ID.
Session identifier.
Session model if found.
Find a session by path.
Notebook path.
Session model if found.
Get session model by ID.
Session identifier.
Session model or undefined.
ProtectedlogUnified logging helper.
Log message (unused - logging disabled).
Additional arguments (unused - logging disabled).
Refresh the list of running sessions. No-op for custom managers.
Request the list of running sessions from the server.
For custom managers (mock, local, Pyodide), returns the current active session. Remote managers should override this to query the actual Jupyter server.
Promise resolving to array of running session models.
Shut down a specific session by ID.
Session identifier.
Shut down all running sessions.
AbstractstartStart a new session. Must be implemented by subclasses.
Session creation options.
OptionalconnectOptions: Omit<Session.ISessionConnection.IOptions, "model" | "serverSettings">Promise resolving to the new session connection.
Stop session if needed (for compatibility).
Notebook path.
Protectedvalidate
Abstract base class for session manager implementations.
Implements common Session.IManager interface methods that are identical Across all manager types.
This class implements the standard JupyterLab Session.IManager interface For managing notebook sessions across different execution environments.