traitlets
traitlets copied to clipboard
A lightweight Traits like module
In https://github.com/jupyter/jupyter_server/issues/320, @SnarkBoojum submitted a manpage for Jupyter Server that largely encoded the results from `--help`. We realized that it would make more sense to have an automatically generated manpage...
👋 colleagues! i just wondered when you may push a 5.x release to pip and conda forge. Right now with python 3.8 traitlets is throwing some warnings that are causing...
I'm finding the behaviour of `traits.All` very confusing in `observe` and `unobserve`. Since I can't find much documentation on it, I thought I'd ask here. My confusion started when I...
In the code, when an instance of traits dictionary is created, if an error occurs in a element construction, the original error message is not used. This makes it more...
traitlets.py has a Type class with a validate method. If this validate method fails, it just raises the error "must be a type". I was trying to start Jupyter with...
Link here - https://github.com/ipython/ipython/issues/11926
A traitlets Application is able to accept various command line arguments. For aliases, flags, and subcommands, at least, I think it would make a lot of sense if traitlets provided...
get function of TraitType(BaseDescriptor) is called right after start ipython and then run forever?
Hi, I'm using ipython and trailets. I met a bug in my code and eventually lead me to try to print something inside `get` function of `TraitType(BaseDescriptor)`. I put `print('enter...
At the moment, it looks like the ``help=`` text doesn't set the ``__doc__`` attribute of traits, which produces this kind of output when using sphinx's autosummary: ![screen shot 2017-12-04 at...
In the following example: ```python from traitlets import HasTraits, Integer class State(HasTraits): a = Integer() b = Integer() def callback(*args, **kwargs): print(args, kwargs) s = State() s.observe(callback) with s.hold_trait_notifications(): s.a...