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

Method record

tests/test_client.py:763–765  ·  view source on GitHub ↗
(options: FinalRequestOptions)

Source from the content-addressed store, hash-verified

761 prepare_options = client._prepare_options
762
763 def record(options: FinalRequestOptions) -> FinalRequestOptions:
764 seen.append(copy.deepcopy(options))
765 return prepare_options(options)
766
767 monkeypatch.setattr(client, "_prepare_options", record)
768 respx_mock.post("/foo").mock(return_value=httpx2.Response(200, json={}))

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected