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

Method _record

tests/test_prepare.py:68–70  ·  view source on GitHub ↗
(self, request: httpx2.Request)

Source from the content-addressed store, hash-verified

66 self._client = client.with_options(http_client=httpx2.AsyncClient(transport=transport), max_retries=0)
67
68 def _record(self, request: httpx2.Request) -> httpx2.Response:
69 self.request = request
70 return httpx2.Response(200, json={})
71
72 async def __call__(self, body: object, *, extra_body: Mapping[str, object] | None = None) -> Any:
73 """The JSON that `body` is sent as, or `None` when the request went out without content."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected