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

Method __repr__

traitlets/config/loader.py:212–216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 return d
211
212 def __repr__(self) -> str:
213 if self._value is not None:
214 return f"<{self.__class__.__name__} value={self._value!r}>"
215 else:
216 return f"<{self.__class__.__name__} {self.to_dict()!r}>"
217
218
219def _is_section_key(key: str) -> bool:

Callers

nothing calls this directly

Calls 1

to_dictMethod · 0.95

Tested by

no test coverage detected