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

Method record

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

Source from the content-addressed store, hash-verified

798 prepare_options = client._prepare_options
799
800 def record(options: FinalRequestOptions) -> FinalRequestOptions:
801 seen.append(copy.deepcopy(options))
802 return prepare_options(options)
803
804 monkeypatch.setattr(client, "_prepare_options", record)
805 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