Hi everyone,

I have a custom ContentsManager class that I'd like to configure using the 
standard Jupyter tools. In particular, I'm looking for something along the 
lines of adding a line like "c.MyContentsManager.parameter = 'value'" to 
the jupyter_notebook_config.py and reading that parameter in the custom 
ContentsManager. I'm hoping this is an easy task, but I can't seem to find 
the relevant functions in the jupyter source code. Maybe something like:

# source code for the custom ContentsManager

from notebook.services.config import ConfigManager

cm = ConfigManager()

cm.get("MyContentsManager").get("parameter", "default")

Does anyone have ideas on how to accomplish this?

Thanks so much!
Steve

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/193be8d9-3321-4dca-b058-6c9ce266355b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to