MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / respond

Function respond

tests/lib/test_client_copy.py:284–286  ·  view source on GitHub ↗
(request: httpx2.Request)

Source from the content-addressed store, hash-verified

282 requests: list[httpx2.Request] = []
283
284 def respond(request: httpx2.Request) -> httpx2.Response:
285 requests.append(request)
286 return httpx2.Response(200, json={"id": "msg_fake"})
287
288 client = construct(
289 client_class,

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected