MCPcopy Create free account
hub / github.com/ipython/traitlets / __init__

Method __init__

examples/myapp.py:83–89  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

81 self.subconf.describe()
82
83 def __init__(self, **kwargs):
84 super().__init__(**kwargs)
85 # here we do not use parent=self, so configuration in the form
86 # c.Bar.SubConfigurable.subvalue=1 will not work. Only
87 # c.SubConfigurable.subvalue=1 will work and affect all instances of
88 # SubConfigurable
89 self.subconf = SubConfigurable(config=self.config)
90
91
92class MyApp(Application):

Callers

nothing calls this directly

Calls 2

SubConfigurableClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected