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

Method __init__

traitlets/traitlets.py:1280–1281  ·  view source on GitHub ↗
(self, names: tuple[Sentinel | str, ...])

Source from the content-addressed store, hash-verified

1278
1279class ValidateHandler(EventHandler):
1280 def __init__(self, names: tuple[Sentinel | str, ...]) -> None:
1281 self.trait_names = names
1282
1283 def instance_init(self, inst: HasTraits) -> None:
1284 inst._register_validator(self, self.trait_names)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected