Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ functions
Functions
933 in github.com/ipython/traitlets
⨍
Functions
933
◇
Types & classes
362
Method
_update_source
(self, change: t.Any)
traitlets/traitlets.py:347
Method
_update_target
(self, change: t.Any)
traitlets/traitlets.py:337
Method
_validate_log
(self, proposal: Bunch)
traitlets/config/configurable.py:475
Method
_value_validate
(self, proposal)
tests/test_traitlets.py:1968
Method
_value_validate
(self, proposal)
tests/test_traitlets.py:2015
Method
_x_changed
(self, change)
tests/test_traitlets.py:212
Method
_x_changed
(self)
tests/test_traitlets.py:231
Method
_x_default
(self)
tests/test_traitlets.py:168
Method
_x_default
(self)
tests/test_traitlets.py:175
Method
_x_default
(self)
tests/test_traitlets.py:204
Method
_x_default
(self)
tests/test_traitlets.py:225
Method
_x_validate
(self, proposal)
tests/test_traitlets.py:208
Method
_x_validate
(self, value, _)
tests/test_traitlets.py:228
Method
a_callback
(name, old, new)
tests/test_traitlets.py:2113
Method
another_update
(self, change)
tests/test_traitlets.py:2170
Method
argcomplete_on
Mostly borrowed from argcomplete's unit test fixtures Set up environment variables to mimic those passed by argcomplete
tests/config/test_argcomplete.py:76
Method
argcompleter
Completion hints for argcomplete
traitlets/traitlets.py:3133
Method
argcompleter
Completion hints for argcomplete
traitlets/traitlets.py:3272
Method
assign_rollback
()
tests/test_traitlets.py:2379
Method
b_callback
(name, old, new)
tests/test_traitlets.py:2118
Function
boolean_flag
Helper for building basic --trait, --no-trait flags. Parameters ---------- name : str The name of the flag. configurable : st
traitlets/config/application.py:1093
Method
c
return a commented, wrapped block.
traitlets/config/configurable.py:371
Method
callback0
()
tests/test_traitlets.py:538
Method
callback0
()
tests/test_traitlets.py:751
Method
callback1
(name)
tests/test_traitlets.py:541
Method
callback1
(change)
tests/test_traitlets.py:754
Method
callback2
(name, new)
tests/test_traitlets.py:544
Method
callback3
(name, old, new)
tests/test_traitlets.py:547
Method
callback4
(name, old, new, obj)
tests/test_traitlets.py:550
Function
caplogconfig
Capture logging config events for DictConfigurator objects. This suppresses the event (so the configuration doesn't happen). Returns a list
tests/config/test_application.py:858
Function
catch_config_error
Method decorator for catching invalid config (Trait/ArgumentErrors) during init. On a TraitError (generally caused by bad config), this will prin
traitlets/config/application.py:106
Method
check_valid
(self, proposal)
tests/test_traitlets.py:1993
Method
child_handler
(self, change)
tests/test_traitlets.py:2734
Method
class_init
Part of the initialization which may depend on the underlying HasDescriptors class. It is typically overloaded for specific types.
traitlets/traitlets.py:459
Method
class_init
(self, cls: type[HasTraits], name: str | None)
traitlets/traitlets.py:1291
Method
class_init
(self, cls: type[HasTraits], name: str | None)
traitlets/traitlets.py:2446
Method
class_init
(self, cls: type[t.Any], name: str | None)
traitlets/traitlets.py:3515
Method
class_init
(self, cls: type[t.Any], name: str | None)
traitlets/traitlets.py:3843
Method
class_own_trait_events
Get a dict of all event handlers defined on this class, not a parent. Works like ``event_handlers``, except for excluding traits from parents
traitlets/traitlets.py:1965
Method
class_print_help
Get the help string for a single trait and print it.
traitlets/config/configurable.py:325
Method
coerce
(self, n)
tests/test_traitlets.py:1371
Method
coerce
(self, n)
tests/test_traitlets.py:1450
Method
coerce
(self, n)
tests/test_traitlets.py:1474
Method
coerce
(self, v)
tests/test_traitlets.py:1539
Method
coerce
(self, v)
tests/test_traitlets.py:1589
Method
coerce
(self, value)
tests/test_traitlets.py:1657
Method
coerce
(self, value)
tests/test_traitlets.py:1674
Method
coerce
(self, value)
tests/test_traitlets.py:1744
Method
coerce
(self, value)
tests/test_traitlets.py:1761
Method
coerce
(self, value)
tests/test_traitlets.py:1783
Method
coerce
(self, value)
tests/test_traitlets.py:1869
Function
compatible_observer
( self: t.Any, change_or_name: str, old: t.Any = Undefined, new: t.Any = Undefined )
traitlets/traitlets.py:1143
Method
compress
Merges the provided change with the last if possible.
traitlets/traitlets.py:1470
Method
cross_validation_lock
A contextmanager for running a block with our cross validation lock set to True. At the end of the block, the lock's value i
traitlets/traitlets.py:1437
Function
default
A decorator which assigns a dynamic default for a Trait on a HasTraits object. Parameters ---------- name The str name of the Tra
traitlets/traitlets.py:1200
Method
default
The default generator for this trait Notes ----- This method is registered to HasTraits classes during ``class_init``
traitlets/traitlets.py:610
Method
default
(self, obj: t.Any = None)
traitlets/traitlets.py:2437
Method
default_value_repr
(self)
traitlets/traitlets.py:901
Method
default_value_repr
(self)
traitlets/traitlets.py:2183
Method
default_value_repr
(self)
traitlets/traitlets.py:2345
Method
describe
(self)
examples/myapp.py:44
Method
describe
(self)
examples/myapp.py:77
Function
execfile
(fname: str, glob: dict[str, Any])
traitlets/config/loader.py:80
Method
exit
(cls, code)
tests/config/test_argcomplete.py:67
Method
from_string
Get a value from a config string such as an environment variable or CLI arguments. Traits can override this method to define their o
traitlets/traitlets.py:594
Method
from_string
(self, s: str)
traitlets/traitlets.py:2348
Method
from_string
(self, s: str)
traitlets/traitlets.py:2476
Method
from_string
(self, s: str)
traitlets/traitlets.py:2775
Method
from_string
(self, s: str)
traitlets/traitlets.py:2845
Method
from_string
(self, s: str)
traitlets/traitlets.py:2878
Method
from_string
(self, s: str)
traitlets/traitlets.py:3049
Method
from_string
(self, s: str)
traitlets/traitlets.py:3119
Method
from_string
(self, s: str)
traitlets/traitlets.py:3263
Method
from_string
Load value from a single string
traitlets/traitlets.py:3526
Method
from_string
Load value from a single string
traitlets/traitlets.py:4064
Method
from_string
(self, s: str)
traitlets/traitlets.py:4186
Method
from_string
(self, s)
examples/docs/from_string.py:13
Method
from_string_list
Return the value from a list of config strings This is where we parse CLI configuration
traitlets/traitlets.py:3536
Method
get_config
Unnecessary now, but a deprecation warning is more trouble than it's worth.
traitlets/config/loader.py:643
Method
get_default_value
DEPRECATED: Retrieve the static default value for this trait. Use self.default_value instead
traitlets/traitlets.py:626
Method
get_extra_args
(self)
traitlets/config/loader.py:899
Method
get_subapp
(cls, main_app: Application)
examples/subcommands_app.py:58
Method
get_subapp_instance
(cls, app: Application)
tests/config/test_argcomplete.py:51
Method
get_subapp_instance
(cls, app: Application)
examples/docs/subcommands.py:15
Method
get_value
Get the value stored in this string
traitlets/config/loader.py:439
Function
ghcommit_role
Link to a GitHub commit. Returns 2 part tuple containing list of nodes to insert into the document and a list of system messages. Both are a
docs/sphinxext/github.py:126
Function
ghissue_role
Link to a GitHub issue. Returns 2 part tuple containing list of nodes to insert into the document and a list of system messages. Both are al
docs/sphinxext/github.py:57
Function
ghuser_role
Link to a GitHub user. Returns 2 part tuple containing list of nodes to insert into the document and a list of system messages. Both are all
docs/sphinxext/github.py:103
Method
handler
(self, change)
tests/test_traitlets.py:2696
Method
handler
(self, change)
tests/test_traitlets.py:2704
Method
handler
(self, change)
tests/test_traitlets.py:2718
Method
hold
(change: Bunch)
traitlets/traitlets.py:1482
Method
ignore
(change: Bunch)
traitlets/traitlets.py:1355
Method
info
(self)
traitlets/traitlets.py:2321
Method
info
(self)
traitlets/traitlets.py:3257
Method
info
(self)
traitlets/traitlets.py:3303
Method
info
(self)
traitlets/traitlets.py:3353
Method
info
(self)
traitlets/traitlets.py:4306
Method
info_rst
(self)
traitlets/traitlets.py:3306
Method
info_rst
(self)
traitlets/traitlets.py:3356
← previous
next →
401–500 of 933, ranked by callers