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

Method __get__

traitlets/traitlets.py:1264–1267  ·  view source on GitHub ↗
(self, inst: t.Any, cls: t.Any = None)

Source from the content-addressed store, hash-verified

1262 return self._init_call(*args, **kwargs)
1263
1264 def __get__(self, inst: t.Any, cls: t.Any = None) -> types.MethodType | EventHandler:
1265 if inst is None:
1266 return self
1267 return types.MethodType(self.func, inst)
1268
1269
1270class ObserveHandler(EventHandler):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected