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
info_rst
(self)
traitlets/traitlets.py:4309
Method
init_default_value
DEPRECATED: Set the static default value for the trait type.
traitlets/traitlets.py:637
Method
initialize
(self, argv=None)
examples/argcomplete_app.py:143
Function
inner
(app: Application, *args: t.Any, **kwargs: t.Any)
traitlets/config/application.py:116
Method
inner
()
tests/test_traitlets.py:1173
Method
instance_init
(self, inst)
tests/test_traitlets.py:415
Method
instance_init
Part of the initialization which may depend on the underlying HasDescriptors instance. It is typically overloaded for specific types.
traitlets/traitlets.py:483
Method
instance_init
(self, inst: HasTraits)
traitlets/traitlets.py:1275
Method
instance_init
(self, inst: HasTraits)
traitlets/traitlets.py:1283
Method
instance_init
(self, obj: t.Any)
traitlets/traitlets.py:2330
Method
is_any_parent_included
(cls: t.Any)
traitlets/config/application.py:1022
Function
isidentifier
(s: str)
traitlets/traitlets.py:173
Method
item_from_string
(s: str, index: int | None = None)
traitlets/traitlets.py:3570
Method
item_from_string
Cast a single item from a string Evaluated when parsing CLI configuration from a string
traitlets/traitlets.py:3811
Method
listener1
(self, name, old, new)
tests/test_traitlets.py:596
Method
listener1
(self, change)
tests/test_traitlets.py:786
Method
listener2
(self, name, old, new)
tests/test_traitlets.py:607
Method
listener2
(self, change)
tests/test_traitlets.py:797
Method
load_config
Parse command line arguments and return as a Config object. Parameters ---------- argv : optional, list If given,
traitlets/config/loader.py:858
Function
load_pyconfig_files
Load multiple Python config files, merging each of them in turn. Parameters ---------- config_files : list of str List of config
traitlets/config/loader.py:1158
Method
load_subconfig
Injected into config file namespace as load_subconfig
traitlets/config/loader.py:625
Method
loaded_config_files
Currently loaded configuration files
traitlets/config/application.py:950
Function
mypy_any_typing
()
tests/test_typing.py:286
Function
mypy_bool_typing
()
tests/test_typing.py:308
Function
mypy_cint_typing
()
tests/test_typing.py:380
Function
mypy_config_typing
()
tests/test_typing.py:68
Function
mypy_decorator_typing
()
tests/test_typing.py:45
Function
mypy_dict_typing
()
tests/test_typing.py:114
Function
mypy_enum_typing
()
tests/test_typing.py:214
Function
mypy_instance_typing
()
tests/test_typing.py:434
Function
mypy_int_typing
()
tests/test_typing.py:349
Function
mypy_list_typing
()
tests/test_typing.py:96
Function
mypy_set_typing
()
tests/test_typing.py:250
Function
mypy_tcp_typing
()
tests/test_typing.py:404
Function
mypy_type_typing
()
tests/test_typing.py:128
Function
mypy_unicode_typing
()
tests/test_typing.py:177
Function
mypy_union_typing
()
tests/test_typing.py:78
Method
new_trait_class
(case_sensitive, substring_matching)
tests/test_traitlets_enum.py:314
Method
notice_config_override
Record traits set by both config and kwargs. They will need to be overridden again after loading config.
traitlets/config/configurable.py:97
Method
notify1
(self, name, old, new)
tests/test_traitlets.py:433
Method
notify1
(self, change)
tests/test_traitlets.py:627
Method
notify1
(self, name, old, new)
tests/test_traitlets.py:2555
Method
notify2
(self, name, old, new)
tests/test_traitlets.py:436
Method
notify2
(self, change)
tests/test_traitlets.py:630
Method
notify_change
(self, change)
tests/test_traitlets.py:81
Function
observe
A decorator which can be used to observe Traits on a class. The handler passed to the decorator will be called with one ``change`` dict argum
traitlets/traitlets.py:1099
Function
observe_compat
Backward-compatibility shim decorator for observers Use with: @observe('name') @observe_compat def _foo_changed(self, change):
traitlets/traitlets.py:1129
Method
parse_known_args
( # type:ignore[override] self, args: t.Sequence[str] | None = None, namespace: argparse.Namespace |
traitlets/config/loader.py:783
Method
print
(self)
examples/argcomplete_app.py:106
Method
print_description
Print the application description.
traitlets/config/application.py:668
Method
print_examples
Print usage and examples (see `emit_examples()`).
traitlets/config/application.py:678
Method
print_help
(self, file: t.Any = None)
traitlets/config/loader.py:67
Method
print_options
Print the options part of the help.
traitlets/config/application.py:580
Method
print_subcommands
Print the subcommand part of the help.
traitlets/config/application.py:599
Function
record
(change)
tests/test_traitlets.py:2753
Method
set
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3646
Method
setUp
(self)
tests/test_traitlets.py:429
Method
setUp
(self)
tests/test_traitlets.py:623
Method
setUp
(self)
tests/test_traitlets.py:2552
Function
setup
(app)
docs/source/conf.py:318
Function
setup
Install the plugin. :param app: Sphinx application context.
docs/sphinxext/github.py:161
Function
setup
Registers the Sphinx extension. You shouldn't need to call this directly; configure Sphinx to use this module instead.
traitlets/config/sphinxdoc.py:46
Method
setup_class
Setup descriptor instance on the class This sets the :attr:`this_class` and :attr:`name` attributes of each BaseDescriptor in the cla
traitlets/traitlets.py:991
Method
setup_instance
(self, *args, **kwargs)
tests/test_traitlets.py:421
Method
setup_instance
This is called **before** self.__init__ is called.
traitlets/traitlets.py:1310
Function
signature_has_traits
Return a decorated class with a constructor signature that contain Trait names as kwargs.
traitlets/utils/decorators.py:19
Method
start
(self)
examples/argcomplete_app.py:148
Method
start
(self)
examples/subcommands_app.py:39
Method
start
(self)
examples/subcommands_app.py:53
Method
start
(self)
examples/docs/from_string.py:28
Method
start
(self)
examples/docs/load_config_app.py:51
Method
start
(self)
examples/docs/multiple_apps.py:10
Method
start
(self)
examples/docs/multiple_apps.py:17
Method
start
(self)
examples/docs/container.py:15
Method
start_show_config
start function used when show_config is True
traitlets/config/application.py:477
Method
subclass_init
(self, cls: type[HasTraits])
traitlets/traitlets.py:472
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2451
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2662
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2780
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2850
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2896
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2982
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3130
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3269
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3520
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3849
Method
subclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:4053
Method
tearDown
(self)
tests/test_traitlets.py:1285
Method
tearDown
(self)
traitlets/tests/test_traitlets.py:56
Method
test_add_arguments
(self)
tests/config/test_loader.py:223
Method
test_alias_unrecognized
Check ability to override handling for unrecognized aliases
tests/config/test_application.py:397
Method
test_aliases
(self)
tests/config/test_application.py:345
Method
test_aliases_help_msg
(self)
tests/config/test_application.py:385
Method
test_aliases_multiple
(self)
tests/config/test_application.py:367
Function
test_all_attribute
Verify all trait types are added to `traitlets.__all__`
tests/test_traitlets.py:3151
Method
test_allow_none
(self)
tests/test_traitlets.py:1002
Method
test_allow_none
(self)
tests/test_traitlets.py:1265
Method
test_allow_none
(self)
traitlets/tests/test_traitlets.py:36
Function
test_allow_none_default_value
(Trait)
tests/test_traitlets.py:1817
Method
test_app_name_set_via_constructor
(self)
tests/config/test_application.py:132
← previous
next →
501–600 of 933, ranked by callers