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

Method __init__

traitlets/traitlets.py:2205–2215  ·  view source on GitHub ↗
(
            self: Instance[T],
            klass: type[T] = ...,
            args: tuple[t.Any, ...] | None = ...,
            kw: dict[str, t.Any] | None = ...,
            allow_none: Literal[False] = ...,
            read_only: bool | None = ...,
            help: str | None = ...,
            **kwargs: t.Any,
        )

Source from the content-addressed store, hash-verified

2203
2204 @t.overload
2205 def __init__(
2206 self: Instance[T],
2207 klass: type[T] = ...,
2208 args: tuple[t.Any, ...] | None = ...,
2209 kw: dict[str, t.Any] | None = ...,
2210 allow_none: Literal[False] = ...,
2211 read_only: bool | None = ...,
2212 help: str | None = ...,
2213 **kwargs: t.Any,
2214 ) -> None:
2215 ...
2216
2217 @t.overload
2218 def __init__(

Callers

nothing calls this directly

Calls 2

TraitErrorClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected