MCPcopy
hub / github.com/anthropics/anthropic-sdk-python / build_request

Method build_request

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

Source from the content-addressed store, hash-verified

267 options = FinalRequestOptions(method="get", url="/foo")
268
269 def build_request(options: FinalRequestOptions) -> None:
270 client_copy = client.copy()
271 client_copy._build_request(options)
272
273 # ensure that the machinery is warmed up before tracing starts.
274 build_request(options)

Callers 1

_build_requestMethod · 0.45

Calls 2

_build_requestMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected