MCPcopy Create free account

hub / github.com/ipython/traitlets / functions

Functions933 in github.com/ipython/traitlets

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
← previousnext →301–400 of 933, ranked by callers