Skip to content

Commit

Permalink
add parameter to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertDeFusco committed Apr 16, 2024
1 parent 2ac0871 commit db9c604
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ Available field names within the string:
- `{kernel}` = Original kernel name (name of the folder containing the kernel spec)
- `{language}` = Language (identical to `{0}`)

- `enable_debugger`: Override kernelspec debugger metadata
Default: None
Possible values are:
- True: Override environment kernelspec metadata and set the debugger flag to `true`
- False: Override environment kernelspec metadata and set the debugger flag to `false`

In order to pass a configuration option in the command line use ```python -m nb_conda_kernels list --CondaKernelSpecManager.env_filter="regex"``` where regex is the regular expression for filtering envs "this|that|and|that" works.
To set it in jupyter config file, edit the jupyter configuration file (py or json) located in your ```jupyter --config-dir```
- for `jupyter_config.py` - add a line "c.CondaKernelSpecManager.env_filter = 'regex'"
Expand Down

0 comments on commit db9c604

Please sign in to comment.