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
__init__
( self: Unicode[str, str | bytes], default_value: str | Sentinel = ..., al
traitlets/traitlets.py:2919
Method
__init__
( self: CUnicode[str, t.Any], default_value: str | Sentinel = ..., allow_n
traitlets/traitlets.py:2992
Method
__init__
( self: Bool[bool, bool | int], default_value: bool | Sentinel = ..., allo
traitlets/traitlets.py:3075
Method
__init__
( self: CBool[bool, t.Any], default_value: bool | Sentinel = ..., allow_no
traitlets/traitlets.py:3147
Method
__init__
( self: Enum[G], values: t.Sequence[G], default_value: G | Sentinel = ...,
traitlets/traitlets.py:3194
Method
__init__
( self: CaselessStrEnum[t.Any], values: t.Any, default_value: t.Any = Undefined,
traitlets/traitlets.py:3280
Method
__init__
( self: FuzzyEnum[t.Any], values: t.Any, default_value: t.Any = Undefined, cas
traitlets/traitlets.py:3317
Method
__init__
( self: Container[T], *, allow_none: Literal[False], read_only: bool | None =
traitlets/traitlets.py:3373
Method
__init__
Create a List trait type from a list, set, or tuple. The default value is created by doing ``list(default_value)``, which creates a c
traitlets/traitlets.py:3594
Method
__init__
Create a Set trait type from a list, set, or tuple. The default value is created by doing ``set(default_value)``, which creates a cop
traitlets/traitlets.py:3662
Method
__init__
Create a tuple from a list, set, or tuple. Create a fixed-type tuple with Traits: ``t = Tuple(Int(), Str(), CStr())`` would
traitlets/traitlets.py:3734
Method
__init__
Create a dict trait type from a Python dict. The default value is created by doing ``dict(default_value)``, which creates a copy of t
traitlets/traitlets.py:3875
Method
__init__
( self: TCPAddress[tuple[str, int], tuple[str, int]], default_value: bool | Sentinel =
traitlets/traitlets.py:4142
Method
__init__
( self, enum_class: type[t.Any], default_value: t.Any = None, **kwargs: t.Any )
traitlets/traitlets.py:4244
Method
__init__
(self, *args: _t.Any, **kwargs: _t.Any)
traitlets/__init__.py:28
Method
__init__
(self, name: str, module: t.Any, docstring: str | None = None)
traitlets/utils/sentinel.py:11
Method
__init__
Create a configurable given a config config. Parameters ---------- config : Config If this is empty, default valu
traitlets/config/configurable.py:57
Method
__init__
(self, **kwargs: t.Any)
traitlets/config/application.py:442
Method
__init__
A base class for config loaders. log : instance of :class:`logging.Logger` to use. By default logger of :meth:`traitlets.config
traitlets/config/loader.py:490
Method
__init__
Build a config loader for a filename and path. Parameters ---------- filename : str The file name of the config f
traitlets/config/loader.py:532
Method
__init__
Create a config loader for use with argparse. Parameters ---------- classes : optional, list The classes to scan
traitlets/config/loader.py:802
Method
__init__
(self, *args: t.Any, **kwargs: t.Any)
traitlets/config/loader.py:970
Method
__init__
(self, *args: t.Any, **kwargs: t.Any)
traitlets/config/loader.py:1148
Method
__init__
(self, **kwargs)
examples/myapp.py:83
Method
__iter__
(self)
tests/test_traitlets.py:2770
Method
__new__
Create the HasDescriptors class.
traitlets/traitlets.py:960
Method
__or__
(self, other: TraitType[t.Any, t.Any])
traitlets/traitlets.py:762
Method
__or__
(self, other: t.Any)
traitlets/traitlets.py:2470
Method
__repr__
(self)
traitlets/utils/sentinel.py:17
Method
__repr__
(self)
traitlets/config/loader.py:212
Method
__repr__
(self)
traitlets/config/loader.py:419
Method
__repr__
(self)
traitlets/config/loader.py:461
Method
__set__
Set the value of the trait by self.name for the instance. Values pass through a validation stage where errors are raised when impropp
traitlets/traitlets.py:727
Method
__setattr__
(self, key: str, value: Any)
traitlets/utils/bunch.py:22
Method
__setattr__
(self, key: str, value: t.Any)
traitlets/config/loader.py:362
Method
__setstate__
(self, state: dict[str, t.Any])
traitlets/traitlets.py:1418
Method
__str__
(self)
traitlets/traitlets.py:237
Method
__str__
(self)
traitlets/config/loader.py:57
Method
__str__
(self)
examples/docs/load_config_app.py:31
Method
_a_changed
(self, name, old, new)
tests/test_traitlets.py:514
Method
_a_changed
(self, name, old, new)
tests/test_traitlets.py:610
Method
_a_changed
(self, change)
tests/test_traitlets.py:716
Method
_a_changed
(self, change)
tests/test_traitlets.py:801
Method
_a_changed
(self, name, old, new)
tests/test_traitlets.py:2330
Method
_a_default
(self)
tests/test_traitlets.py:2853
Method
_add_arguments
(self, aliases=None, flags=None, classes=None)
tests/config/test_loader.py:191
Method
_add_arguments
(self, aliases=None, flags=None, classes=None)
tests/config/test_loader.py:202
Method
_add_arguments
(self, aliases: t.Any, flags: t.Any, classes: t.Any)
traitlets/config/loader.py:997
Method
_any_changed
(self, change)
tests/test_traitlets.py:720
Method
_argcomplete
If argcomplete is enabled, allow triggering command-line autocompletion
traitlets/config/loader.py:1126
Method
_b_changed
(self, name, old, new)
tests/test_traitlets.py:528
Method
_b_changed
(self, change)
tests/test_traitlets.py:739
Method
_b_validate
(self, value, trait)
tests/test_traitlets.py:2333
Method
_bar_validate
(self, value, trait)
tests/test_traitlets.py:2371
Method
_bar_validate
(self, value, trait)
tests/test_traitlets.py:2389
Method
_calls_super_changed
(self, change)
tests/test_traitlets.py:2651
Method
_calls_super_changed
(self, name, old, new)
tests/test_traitlets.py:2669
Method
_calls_super_default
(self)
tests/test_traitlets.py:2646
Method
_capture
(*args)
tests/config/test_application.py:718
Method
_config_changed
(self, name, old, new)
tests/config/test_application.py:715
Method
_config_changed
Update all the class traits having ``config=True`` in metadata. For any class trait with a ``config`` metadata attribute that is ``Tr
traitlets/config/configurable.py:218
Method
_config_changed
(self, change: Bunch)
traitlets/config/application.py:456
Method
_config_default
(self)
tests/config/test_configurable.py:595
Function
_configure
(*args, **kwargs)
tests/config/test_application.py:867
Method
_convert_to_config
self.parsed_data->self.config, parse unrecognized extra args via KVLoader.
traitlets/config/loader.py:1078
Method
_create_loader
(self, argv, aliases, flags, classes)
tests/config/test_argcomplete.py:37
Method
_create_loader
(self, argv, aliases, flags, classes)
tests/config/test_application.py:405
Method
_d_default
(self)
tests/test_traitlets.py:2639
Method
_d_default
(self)
tests/test_traitlets.py:2664
Method
_d_default
(self)
tests/config/test_configurable.py:496
Method
_default_foo
(self)
tests/test_typing.py:50
Method
_default_x
(self)
tests/test_traitlets.py:244
Method
_default_x
(self)
tests/test_traitlets.py:252
Method
_foo_observer
(self, change: t.Any)
tests/test_typing.py:54
Method
_foo_validate
(self, value, trait)
tests/test_traitlets.py:2393
Method
_foo_validate
(self, commit: t.Any)
tests/test_typing.py:58
Method
_get_completions
Overridden to dynamically append --Class.trait arguments if appropriate Warning: This does not (currently) support completions of
traitlets/config/argcomplete_config.py:149
Method
_get_log_handler
Return the default Handler Returns None if none can be found Deprecated, this now returns the first log handler which may or may
traitlets/config/configurable.py:495
Method
_get_option_completions
Overridden to add --Class. completions when appropriate
traitlets/config/argcomplete_config.py:204
Method
_handle_unrecognized_alias
(self, arg)
tests/config/test_application.py:401
Method
_i_changed
(self, change)
tests/test_traitlets.py:2292
Method
_i_validate
(self, commit)
tests/test_traitlets.py:2296
Function
_indent_completions
Example of a custom completer, which could be dynamic
examples/argcomplete_app.py:80
Method
_lis_default
(self)
tests/config/test_configurable.py:486
Method
_log_default
(self)
traitlets/config/configurable.py:487
Method
_log_default
Start logging for this application.
traitlets/config/application.py:298
Method
_merge
deprecated alias, use Config.merge()
traitlets/config/loader.py:253
Method
_notify
check the value of all traits when each trait change is triggered This verifies that the values are not sensitive to dict ordering wh
tests/test_traitlets.py:2419
Method
_observe_logging_change
(self, change: Bunch)
traitlets/config/application.py:279
Method
_observe_logging_default
(self, change: Bunch)
traitlets/config/application.py:287
Method
_overrides_changed
(self, change)
tests/test_traitlets.py:2659
Method
_overrides_changed
(self, name, old, new)
tests/test_traitlets.py:2675
Function
_parse_int_or_str
(v)
tests/config/test_loader.py:183
Method
_record_c
(self, proposal)
tests/config/test_configurable.py:655
Method
_replace
(arg: str)
traitlets/config/loader.py:935
Method
_resolve_string
Find the specified class name by looking for it in the module in which our this_class attribute was defined.
traitlets/traitlets.py:2357
Method
_s_default
(self)
tests/config/test_configurable.py:491
Method
_show_config_changed
(self, change: Bunch)
traitlets/config/application.py:437
Method
_show_config_json_changed
(self, change: Bunch)
traitlets/config/application.py:433
Method
_update
(self, change: t.Any)
traitlets/traitlets.py:419
← previous
next →
301–400 of 933, ranked by callers