bundles / traitlets latest / traitlets / config / loader / Config
class
traitlets.config.loader:Config
source: /traitlets/config/loader.py :224
Signature
class Config ( * args : t.Any , ** kwds : t.Any ) → None Members
-
__contains__ -
__copy__ -
__deepcopy__ -
__delattr__ -
__getattr__ -
__getitem__ -
__init__ -
__setattr__ -
__setitem__ -
_ensure_subconfig -
_has_section -
_merge -
collisions -
copy -
merge
Summary
An attribute-based dict that can do smart merges.
Extended Summary
Accessing a field on a config object for the first time populates the key with either a nested Config object for keys starting with capitals or .LazyConfigValue for lowercase keys, allowing quick assignments such as
c = Config() c.Class.int_trait = 5 c.Class.list_trait.append("x")
Aliases
-
traitlets.config.Config
Referenced by
Other packages
- IPython whatsnew:version0.11
- IPython whatsnew:version0.11
- IPython whatsnew:version0.11
- IPython whatsnew:version0.11
- IPython whatsnew:version0.11
- IPython whatsnew:version0.11
- IPython whatsnew:version0.11