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

Method instance_init

traitlets/traitlets.py:2330–2333  ·  view source on GitHub ↗
(self, obj: t.Any)

Source from the content-addressed store, hash-verified

2328 return result
2329
2330 def instance_init(self, obj: t.Any) -> None:
2331 # we can't do this in subclass_init because that
2332 # might be called before all imports are done.
2333 self._resolve_classes()
2334
2335 def _resolve_classes(self) -> None:
2336 if isinstance(self.klass, str):

Callers

nothing calls this directly

Calls 1

_resolve_classesMethod · 0.95

Tested by

no test coverage detected