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

Method __init__

traitlets/__init__.py:28–37  ·  view source on GitHub ↗
(self, *args: _t.Any, **kwargs: _t.Any)

Source from the content-addressed store, hash-verified

26
27class Sentinel(traitlets.Sentinel): # type:ignore[name-defined, misc]
28 def __init__(self, *args: _t.Any, **kwargs: _t.Any) -> None:
29 super().__init__(*args, **kwargs)
30 warn(
31 """
32 Sentinel is not a public part of the traitlets API.
33 It was published by mistake, and may be removed in the future.
34 """,
35 DeprecationWarning,
36 stacklevel=2,
37 )

Callers

nothing calls this directly

Calls 1

warnFunction · 0.90

Tested by

no test coverage detected