MCPcopy
hub / github.com/PyGithub/PyGithub / read_json

Method read_json

scripts/openapi.py:1962–1964  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

1960
1961 @staticmethod
1962 def read_json(filename: str) -> dict[str, Any]:
1963 with open(filename) as r:
1964 return json.load(r)
1965
1966 @staticmethod
1967 def get_schema(spec: dict[str, Any], path: str) -> (list[str], dict[str, Any]):

Callers 1

__init__Method · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected