MCPcopy Create free account

hub / github.com/ipython/traitlets / functions

Functions933 in github.com/ipython/traitlets

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
Methoda_callback
(name, old, new)
tests/test_traitlets.py:2113
Methodanother_update
(self, change)
tests/test_traitlets.py:2170
Methodargcomplete_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
Methodargcompleter
Completion hints for argcomplete
traitlets/traitlets.py:3133
Methodargcompleter
Completion hints for argcomplete
traitlets/traitlets.py:3272
Methodassign_rollback
()
tests/test_traitlets.py:2379
Methodb_callback
(name, old, new)
tests/test_traitlets.py:2118
Functionboolean_flag
Helper for building basic --trait, --no-trait flags. Parameters ---------- name : str The name of the flag. configurable : st
traitlets/config/application.py:1093
Methodc
return a commented, wrapped block.
traitlets/config/configurable.py:371
Methodcallback0
()
tests/test_traitlets.py:538
Methodcallback0
()
tests/test_traitlets.py:751
Methodcallback1
(name)
tests/test_traitlets.py:541
Methodcallback1
(change)
tests/test_traitlets.py:754
Methodcallback2
(name, new)
tests/test_traitlets.py:544
Methodcallback3
(name, old, new)
tests/test_traitlets.py:547
Methodcallback4
(name, old, new, obj)
tests/test_traitlets.py:550
Functioncaplogconfig
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
Functioncatch_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
Methodcheck_valid
(self, proposal)
tests/test_traitlets.py:1993
Methodchild_handler
(self, change)
tests/test_traitlets.py:2734
Methodclass_init
Part of the initialization which may depend on the underlying HasDescriptors class. It is typically overloaded for specific types.
traitlets/traitlets.py:459
Methodclass_init
(self, cls: type[HasTraits], name: str | None)
traitlets/traitlets.py:1291
Methodclass_init
(self, cls: type[HasTraits], name: str | None)
traitlets/traitlets.py:2446
Methodclass_init
(self, cls: type[t.Any], name: str | None)
traitlets/traitlets.py:3515
Methodclass_init
(self, cls: type[t.Any], name: str | None)
traitlets/traitlets.py:3843
Methodclass_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
Methodclass_print_help
Get the help string for a single trait and print it.
traitlets/config/configurable.py:325
Methodcoerce
(self, n)
tests/test_traitlets.py:1371
Methodcoerce
(self, n)
tests/test_traitlets.py:1450
Methodcoerce
(self, n)
tests/test_traitlets.py:1474
Methodcoerce
(self, v)
tests/test_traitlets.py:1539
Methodcoerce
(self, v)
tests/test_traitlets.py:1589
Methodcoerce
(self, value)
tests/test_traitlets.py:1657
Methodcoerce
(self, value)
tests/test_traitlets.py:1674
Methodcoerce
(self, value)
tests/test_traitlets.py:1744
Methodcoerce
(self, value)
tests/test_traitlets.py:1761
Methodcoerce
(self, value)
tests/test_traitlets.py:1783
Methodcoerce
(self, value)
tests/test_traitlets.py:1869
Functioncompatible_observer
( self: t.Any, change_or_name: str, old: t.Any = Undefined, new: t.Any = Undefined )
traitlets/traitlets.py:1143
Methodcompress
Merges the provided change with the last if possible.
traitlets/traitlets.py:1470
Methodcross_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
Functiondefault
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
Methoddefault
The default generator for this trait Notes ----- This method is registered to HasTraits classes during ``class_init``
traitlets/traitlets.py:610
Methoddefault
(self, obj: t.Any = None)
traitlets/traitlets.py:2437
Methoddefault_value_repr
(self)
traitlets/traitlets.py:901
Methoddefault_value_repr
(self)
traitlets/traitlets.py:2183
Methoddefault_value_repr
(self)
traitlets/traitlets.py:2345
Methoddescribe
(self)
examples/myapp.py:44
Methoddescribe
(self)
examples/myapp.py:77
Functionexecfile
(fname: str, glob: dict[str, Any])
traitlets/config/loader.py:80
Methodexit
(cls, code)
tests/config/test_argcomplete.py:67
Methodfrom_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
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:2348
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:2476
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:2775
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:2845
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:2878
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:3049
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:3119
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:3263
Methodfrom_string
Load value from a single string
traitlets/traitlets.py:3526
Methodfrom_string
Load value from a single string
traitlets/traitlets.py:4064
Methodfrom_string
(self, s: str)
traitlets/traitlets.py:4186
Methodfrom_string
(self, s)
examples/docs/from_string.py:13
Methodfrom_string_list
Return the value from a list of config strings This is where we parse CLI configuration
traitlets/traitlets.py:3536
Methodget_config
Unnecessary now, but a deprecation warning is more trouble than it's worth.
traitlets/config/loader.py:643
Methodget_default_value
DEPRECATED: Retrieve the static default value for this trait. Use self.default_value instead
traitlets/traitlets.py:626
Methodget_extra_args
(self)
traitlets/config/loader.py:899
Methodget_subapp
(cls, main_app: Application)
examples/subcommands_app.py:58
Methodget_subapp_instance
(cls, app: Application)
tests/config/test_argcomplete.py:51
Methodget_subapp_instance
(cls, app: Application)
examples/docs/subcommands.py:15
Methodget_value
Get the value stored in this string
traitlets/config/loader.py:439
Functionghcommit_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
Functionghissue_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
Functionghuser_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
Methodhandler
(self, change)
tests/test_traitlets.py:2696
Methodhandler
(self, change)
tests/test_traitlets.py:2704
Methodhandler
(self, change)
tests/test_traitlets.py:2718
Methodhold
(change: Bunch)
traitlets/traitlets.py:1482
Methodignore
(change: Bunch)
traitlets/traitlets.py:1355
Methodinfo
(self)
traitlets/traitlets.py:2321
Methodinfo
(self)
traitlets/traitlets.py:3257
Methodinfo
(self)
traitlets/traitlets.py:3303
Methodinfo
(self)
traitlets/traitlets.py:3353
Methodinfo
(self)
traitlets/traitlets.py:4306
Methodinfo_rst
(self)
traitlets/traitlets.py:3306
Methodinfo_rst
(self)
traitlets/traitlets.py:3356
← previousnext →401–500 of 933, ranked by callers