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

Method __init__

traitlets/traitlets.py:228–229  ·  view source on GitHub ↗
(self, value: t.Any)

Source from the content-addressed store, hash-verified

226
227class _SimpleTest:
228 def __init__(self, value: t.Any) -> None:
229 self.value = value
230
231 def __call__(self, test: t.Any) -> bool:
232 return bool(test == self.value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected