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

Method __enter__

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

Source from the content-addressed store, hash-verified

589 raise ValueError(f"Unknown version of JSON config file: {version}")
590
591 def __enter__(self) -> Config:
592 self.load_config()
593 return self.config
594
595 def __exit__(self, exc_type: object, exc_value: object, traceback: object) -> None:
596 """

Callers

nothing calls this directly

Calls 1

load_configMethod · 0.95

Tested by

no test coverage detected