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

Method instance_init

traitlets/traitlets.py:1275–1276  ·  view source on GitHub ↗
(self, inst: HasTraits)

Source from the content-addressed store, hash-verified

1273 self.type = type
1274
1275 def instance_init(self, inst: HasTraits) -> None:
1276 inst.observe(self, self.trait_names, type=self.type)
1277
1278
1279class ValidateHandler(EventHandler):

Callers

nothing calls this directly

Calls 1

observeMethod · 0.80

Tested by

no test coverage detected