MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / read_json

Function read_json

packages/protocol/scripts/lib/openapi_compat_lib.py:287–289  ·  view source on GitHub ↗
(path: pathlib.Path)

Source from the content-addressed store, hash-verified

285
286
287def read_json(path: pathlib.Path) -> typing.Any:
288 with open(path, encoding="utf-8") as handle:
289 return json.load(handle)
290
291
292def _default_string_value(property_schema: dict[str, typing.Any], property_name: str = "") -> str:

Callers 1

read_active_wire_versionFunction · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected