MCPcopy Create free account

hub / github.com/ipython/traitlets / functions

Functions933 in github.com/ipython/traitlets

Methodinfo_rst
(self)
traitlets/traitlets.py:4309
Methodinit_default_value
DEPRECATED: Set the static default value for the trait type.
traitlets/traitlets.py:637
Methodinitialize
(self, argv=None)
examples/argcomplete_app.py:143
Functioninner
(app: Application, *args: t.Any, **kwargs: t.Any)
traitlets/config/application.py:116
Methodinner
()
tests/test_traitlets.py:1173
Methodinstance_init
(self, inst)
tests/test_traitlets.py:415
Methodinstance_init
Part of the initialization which may depend on the underlying HasDescriptors instance. It is typically overloaded for specific types.
traitlets/traitlets.py:483
Methodinstance_init
(self, inst: HasTraits)
traitlets/traitlets.py:1275
Methodinstance_init
(self, inst: HasTraits)
traitlets/traitlets.py:1283
Methodinstance_init
(self, obj: t.Any)
traitlets/traitlets.py:2330
Methodis_any_parent_included
(cls: t.Any)
traitlets/config/application.py:1022
Functionisidentifier
(s: str)
traitlets/traitlets.py:173
Methoditem_from_string
(s: str, index: int | None = None)
traitlets/traitlets.py:3570
Methoditem_from_string
Cast a single item from a string Evaluated when parsing CLI configuration from a string
traitlets/traitlets.py:3811
Methodlistener1
(self, name, old, new)
tests/test_traitlets.py:596
Methodlistener1
(self, change)
tests/test_traitlets.py:786
Methodlistener2
(self, name, old, new)
tests/test_traitlets.py:607
Methodlistener2
(self, change)
tests/test_traitlets.py:797
Methodload_config
Parse command line arguments and return as a Config object. Parameters ---------- argv : optional, list If given,
traitlets/config/loader.py:858
Functionload_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
Methodload_subconfig
Injected into config file namespace as load_subconfig
traitlets/config/loader.py:625
Methodloaded_config_files
Currently loaded configuration files
traitlets/config/application.py:950
Functionmypy_any_typing
()
tests/test_typing.py:286
Functionmypy_bool_typing
()
tests/test_typing.py:308
Functionmypy_cint_typing
()
tests/test_typing.py:380
Functionmypy_config_typing
()
tests/test_typing.py:68
Functionmypy_decorator_typing
()
tests/test_typing.py:45
Functionmypy_dict_typing
()
tests/test_typing.py:114
Functionmypy_enum_typing
()
tests/test_typing.py:214
Functionmypy_instance_typing
()
tests/test_typing.py:434
Functionmypy_int_typing
()
tests/test_typing.py:349
Functionmypy_list_typing
()
tests/test_typing.py:96
Functionmypy_set_typing
()
tests/test_typing.py:250
Functionmypy_tcp_typing
()
tests/test_typing.py:404
Functionmypy_type_typing
()
tests/test_typing.py:128
Functionmypy_unicode_typing
()
tests/test_typing.py:177
Functionmypy_union_typing
()
tests/test_typing.py:78
Methodnew_trait_class
(case_sensitive, substring_matching)
tests/test_traitlets_enum.py:314
Methodnotice_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
Methodnotify1
(self, name, old, new)
tests/test_traitlets.py:433
Methodnotify1
(self, change)
tests/test_traitlets.py:627
Methodnotify1
(self, name, old, new)
tests/test_traitlets.py:2555
Methodnotify2
(self, name, old, new)
tests/test_traitlets.py:436
Methodnotify2
(self, change)
tests/test_traitlets.py:630
Methodnotify_change
(self, change)
tests/test_traitlets.py:81
Functionobserve
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
Functionobserve_compat
Backward-compatibility shim decorator for observers Use with: @observe('name') @observe_compat def _foo_changed(self, change):
traitlets/traitlets.py:1129
Methodparse_known_args
( # type:ignore[override] self, args: t.Sequence[str] | None = None, namespace: argparse.Namespace |
traitlets/config/loader.py:783
Methodprint
(self)
examples/argcomplete_app.py:106
Methodprint_description
Print the application description.
traitlets/config/application.py:668
Methodprint_examples
Print usage and examples (see `emit_examples()`).
traitlets/config/application.py:678
Methodprint_help
(self, file: t.Any = None)
traitlets/config/loader.py:67
Methodprint_options
Print the options part of the help.
traitlets/config/application.py:580
Methodprint_subcommands
Print the subcommand part of the help.
traitlets/config/application.py:599
Functionrecord
(change)
tests/test_traitlets.py:2753
Methodset
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3646
MethodsetUp
(self)
tests/test_traitlets.py:429
MethodsetUp
(self)
tests/test_traitlets.py:623
MethodsetUp
(self)
tests/test_traitlets.py:2552
Functionsetup
(app)
docs/source/conf.py:318
Functionsetup
Install the plugin. :param app: Sphinx application context.
docs/sphinxext/github.py:161
Functionsetup
Registers the Sphinx extension. You shouldn't need to call this directly; configure Sphinx to use this module instead.
traitlets/config/sphinxdoc.py:46
Methodsetup_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
Methodsetup_instance
(self, *args, **kwargs)
tests/test_traitlets.py:421
Methodsetup_instance
This is called **before** self.__init__ is called.
traitlets/traitlets.py:1310
Functionsignature_has_traits
Return a decorated class with a constructor signature that contain Trait names as kwargs.
traitlets/utils/decorators.py:19
Methodstart
(self)
examples/argcomplete_app.py:148
Methodstart
(self)
examples/subcommands_app.py:39
Methodstart
(self)
examples/subcommands_app.py:53
Methodstart
(self)
examples/docs/from_string.py:28
Methodstart
(self)
examples/docs/load_config_app.py:51
Methodstart
(self)
examples/docs/multiple_apps.py:10
Methodstart
(self)
examples/docs/multiple_apps.py:17
Methodstart
(self)
examples/docs/container.py:15
Methodstart_show_config
start function used when show_config is True
traitlets/config/application.py:477
Methodsubclass_init
(self, cls: type[HasTraits])
traitlets/traitlets.py:472
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2451
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2662
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2780
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2850
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2896
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:2982
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3130
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3269
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3520
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:3849
Methodsubclass_init
(self, cls: type[t.Any])
traitlets/traitlets.py:4053
MethodtearDown
(self)
tests/test_traitlets.py:1285
MethodtearDown
(self)
traitlets/tests/test_traitlets.py:56
Methodtest_add_arguments
(self)
tests/config/test_loader.py:223
Methodtest_alias_unrecognized
Check ability to override handling for unrecognized aliases
tests/config/test_application.py:397
Methodtest_aliases
(self)
tests/config/test_application.py:345
Methodtest_aliases_help_msg
(self)
tests/config/test_application.py:385
Methodtest_aliases_multiple
(self)
tests/config/test_application.py:367
Functiontest_all_attribute
Verify all trait types are added to `traitlets.__all__`
tests/test_traitlets.py:3151
Methodtest_allow_none
(self)
tests/test_traitlets.py:1002
Methodtest_allow_none
(self)
tests/test_traitlets.py:1265
Methodtest_allow_none
(self)
traitlets/tests/test_traitlets.py:36
Functiontest_allow_none_default_value
(Trait)
tests/test_traitlets.py:1817
Methodtest_app_name_set_via_constructor
(self)
tests/config/test_application.py:132
← previousnext →501–600 of 933, ranked by callers