-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable notebook ContentsManager in jupyter_server #392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this. It makes sense and the warning message is sufficiently detailed - thanks.
Co-authored-by: Kevin Bates <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* move cookie_secret_file to a non-persistent location, since it should be updated on any server restart * Bump to 0.20.2
Enable notebook ContentsManager in jupyter_server
jupyter_server's
contents_manager_class
doesn't accept subclasses of notebook'sContentsManager
. While this is the desired behavior for the future of jupyter_server, during this transition phase from notebook to jupyter_server, we should allow notebook's ContentManagers to pass through.This PR relaxes the
contents_manager_class
to allow these managers. To do this, newtraittypes
are defined and used that check the incoming types/instances against a list of classes.