-
Notifications
You must be signed in to change notification settings - Fork 16
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
Unable to Disable Terminal through 'jupyter_server_config.py` #85
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Nice catch! In version 1.x, terminal-related functionality has not yet been fully separated from the Jupyter server: https://github.com/jupyter-server/jupyter_server/blob/1.x/jupyter_server/serverapp.py#L2048 |
by looking at the source code, it does respect the terminal config. However, I believe it should update nbclassic actually read this field and will fail to launch if the value is missing. I know they should have a default value for missing fields(issue raised). But I also believe it should be populated, instead of just missing. Link to nbclassic issue: jupyter/nbclassic#255 |
Agree, this allows us to be consistent with Jupyter Server 1.x behaviour. https://github.com/jupyter-server/jupyter_server/blob/1.x/jupyter_server/serverapp.py#L363 EDIT: PR opened #105 |
Description
The jupyter server terminal is not disabled on jupyterhub after setting the
jupyter_server_config.py
like so:I can confirm that the configuration is acknowledged by the jupyter server by executing the following command
jupyter server --show-config
which outputs:Reproduce
Context
I can confirm this issue does not occur if I pin the
jupyter_server
package to less than version 2.Looking at the source code this may make sense, the value gets hard coded here.
The text was updated successfully, but these errors were encountered: