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

Method __dir__

traitlets/utils/bunch.py:25–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 self.__setitem__(key, value)
24
25 def __dir__(self) -> list[str]:
26 names: list[str] = []
27 names.extend(super().__dir__())
28 names.extend(self.keys())
29 return names

Callers

nothing calls this directly

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected