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

Github now supports discussions. [I just asked a question](https://github.com/ipython/traitlets/issues/765) which really is not an issue with Traitlets but more a question/discussion about Traitlets. In a sense having both discussions and...

In [the docs on Traitlets configuration via config files](https://traitlets.readthedocs.io/en/stable/config.html#python-configuration-files) the section does not indicate whether arbitrary or potentially malicious code is prevented from executing in these files. Are there any...

If possible we should split/rename the COPYING.md file as it's structure make and extra information make some tools (tidelift), not properly detect the license.

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. Updates `pytest` to 8.1.0 Release notes Sourced from pytest's releases. 8.1.0 pytest 8.1.0 (2024-03-03) Features #11475: Added the new consider_namespace_packages{.interpreted-text...

maintenance
dependencies
python

I want to display the observe function result in widgets.Output() instead of current frame. So I tried two ways. 1. data_output = widgets.Output() def show_dataframe(change): with data_output: clear_output() display(data_frame.iloc[change['new']][:10]) js2py_memory.observe(show_dataframe,...

its not clear to me in what order the trait observers get executed and why? can anyone shed light on this? ```py class Test(tr.HasTraits): a = tr.Bool(default_value=True) b = tr.Bool(default_value=True)...

Before v5.12.0, if the passed value is of type str, the new value hold by the traitlet was a set (or maybe a list?) with a single element of type...

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...

## Context I noticed that a script that we use as part of our CI workflow stopped working with the update from traitlets `5.11.2` to `5.12.0`. The script in question:...

Seen while updating `jupyter_server`: ``` jupyter_server/serverapp.py:1982: error: "object" not callable [operator] self.authorizer = self.authorizer_class( ``` ```python self.authorizer = self.authorizer_class( parent=self, log=self.log, identity_provider=self.identity_provider ) ``` ```python authorizer_class = Type( default_value=AllowAllAuthorizer, klass=Authorizer,...