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

Method _read_file_as_dict

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

Source from the content-addressed store, hash-verified

574 return self.config
575
576 def _read_file_as_dict(self) -> dict[str, t.Any]:
577 with open(self.full_filename) as f:
578 return t.cast("dict[str, t.Any]", json.load(f))
579
580 def _convert_to_config(self, dictionary: dict[str, t.Any]) -> Config:
581 if "version" in dictionary:

Callers 1

load_configMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected