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

Method __setattr__

traitlets/utils/bunch.py:22–23  ·  view source on GitHub ↗
(self, key: str, value: Any)

Source from the content-addressed store, hash-verified

20 raise AttributeError(key) from e
21
22 def __setattr__(self, key: str, value: Any) -> None:
23 self.__setitem__(key, value)
24
25 def __dir__(self) -> list[str]:
26 names: list[str] = []

Callers

nothing calls this directly

Calls 1

__setitem__Method · 0.80

Tested by

no test coverage detected