You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default SessionManager stores the session data in an in-memory database.
If you'd like to make this session database persist beyond the lifetime of the jupyter server, you must subclass this method and override the connection property. I believe this should be a configurable trait on the session manager to avoid subclassing.
Also, none of the session manager methods that add changes to the session database call the .commit() method. As a consequence, even if the original database was written to disk, none of the changes would be written to disk.
Proposed Solution
Make the session database connection path configurable
Add .commit() to all methods that change the database.
The text was updated successfully, but these errors were encountered:
Problem
The default
SessionManager
stores the session data in an in-memory database.If you'd like to make this session database persist beyond the lifetime of the jupyter server, you must subclass this method and override the
connection
property. I believe this should be a configurable trait on the session manager to avoid subclassing.Also, none of the session manager methods that add changes to the session database call the
.commit()
method. As a consequence, even if the original database was written to disk, none of the changes would be written to disk.Proposed Solution
.commit()
to all methods that change the database.The text was updated successfully, but these errors were encountered: