traitlets icon indicating copy to clipboard operation
traitlets copied to clipboard

A lightweight Traits like module

Results 139 traitlets issues
Sort by recently updated
recently updated
newest added

The `min` and `max` kwargs are "manually" implemented as kw-only args to `Int` and `Float`. As a consequence, they do not appear in the generated docs (https://traitlets.readthedocs.io/en/stable/trait_types.html#numbers) anywhere AFAICT. I...

good first issue

``` python try: silent = bool(old_value == new_value) except: # if there is an error in comparing, default to notify silent = False ``` When `==` doesn't work (think `np.array`...

We should define `__all__` in traitlets/traitlets.py, so that it's explicit what's exported as public API. There are a few utility functions and classes such as DefaultHandler that are accidentally exposed...

@jcb91 opened jupyter/notebook#1269 From https://github.com/ipython-contrib/IPython-notebook-extensions/issues/555, it would be nice if, when the config API runs into bad JSON and hence fails to load a file from disk, it could include...

Hello, I am having a `ERROR: No matching distribution found for traitlets==5.0.4` error message while trying to install using `pip3 install traitlets==5.0.4` Thanks,

If a change is submitted directly with `HasTraits.notify_change`, `_notify_observers` (which handles turning a `dict` to a `Bunch`) has been replaced with `hold`, which needs to be prepared for plain `dicts`.

I can create short flags like this: ```python flags = { ("f", "overwrite"): ( {"DataWriter": {"overwrite": True}}, "Overwrite output file if it exists", ), } ``` which gives me `-f`,...

- implement class TOMLFileConfigLoader - implement corresponding test case - add toml to requires list in setup.py Fixes #648

Closes: #645 It looks like #645 might actually be a slightly bigger problem than it would initially seem. You can't even do `"{'tag'}"` and get it to work because the...

Proposed change to allow setting of a link directly on a trait property, rather than needing to use an explicit link between target and source. Closes #641