MCPcopy Create free account
hub / github.com/Tong89/smartNode / _json

Function _json

tests/test_api_integration.py:68–70  ·  view source on GitHub ↗

从 Response 中解析 JSON,便于断言。

(resp)

Source from the content-addressed store, hash-verified

66# ---------------------------------------------------------------------------
67
68def _json(resp):
69 """从 Response 中解析 JSON,便于断言。"""
70 return json.loads(resp.data.decode("utf-8"))
71
72
73# ---------------------------------------------------------------------------

Calls

no outgoing calls

Tested by

no test coverage detected