MCPcopy Create free account
hub / github.com/ResearAI/DeepReviewer-v2 / _json_response

Function _json_response

tests/test_retrieval_disabled_mode.py:29–34  ·  view source on GitHub ↗
(status_code: int, payload: object, url: str = 'http://search.local')

Source from the content-addressed store, hash-verified

27
28
29def _json_response(status_code: int, payload: object, url: str = 'http://search.local') -> httpx.Response:
30 return httpx.Response(
31 status_code,
32 json=payload,
33 request=httpx.Request('GET', url),
34 )
35
36
37def _usage_stub():

Callers 3

getMethod · 0.85
getMethod · 0.85
postMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected