Skip to content
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

inherit base aliases/flags from traitlets Application #233

Merged
merged 1 commit into from Aug 3, 2021

Conversation

minrk
Copy link
Member

@minrk minrk commented Aug 3, 2021

gets --show-config and --show-config-json options for all Applications when using traitlets 5

gets `--show-config` and `--show-config-json` options for all Applications
@minrk
Copy link
Member Author

minrk commented Aug 3, 2021

This gets, for example:

$ jupyter lab --show-config
...
Loaded config files:
  /Users/minrk/.jupyter/jupyter_server_config.py
  /Users/minrk/.jupyter/jupyter_server_config.json

LabApp
  .open_browser = False
NotebookApp
  .nbserver_extensions = {'myext': False}
  .open_browser = False
NotebookManager
  .notebook_dir = '/Users/minrk/dev/mine/notebooks'
ServerApp
  .default_url = '/lab'
  .file_url_prefix = '/lab/tree'
  .jpserver_extensions = <LazyConfigValue value={'jupyterlab': True, 'dask_labextension': True, 'ipyparallel': True, 'jupyter_server_mathjax': True, 'jupyter_server_proxy': True, 'jupyterlab_code_formatter': True, 'nbclassic': True, 'nbdime': True}>
  .notebook_dir = '/Users/minrk/dev/mine/notebooks'
  .open_browser = False
  .password = 'sha1:...'
  .root_dir = '/Users/minrk/dev/mine/notebooks'

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blink1073 blink1073 merged commit 2dc34f7 into jupyter:master Aug 3, 2021
@minrk minrk deleted the base-flags branch August 3, 2021 13:03
@jasongrout jasongrout added this to the 4.8 milestone Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants