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

Method __init__

tests/test_traitlets.py:782–784  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

780 b = 0
781
782 def __init__(self, **kwargs):
783 super().__init__(**kwargs)
784 self.observe(self.listener1, ["a"])
785
786 def listener1(self, change):
787 self.b += 1

Callers

nothing calls this directly

Calls 2

observeMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected