MCPcopy
hub / github.com/openai/openai-python / build_request

Method build_request

tests/test_client.py:1539–1541  ·  tests/test_client.py::TestAsyncOpenAI.build_request
(options: FinalRequestOptions)

Source from the content-addressed store, hash-verified

1537 options = FinalRequestOptions(method=class="st">"get", url=class="st">"/foo")
1538
1539 def build_request(options: FinalRequestOptions) -> None:
1540 client_copy = async_client.copy()
1541 client_copy._build_request(options)
1542
1543 class="cm"># ensure that the machinery is warmed up before tracing starts.
1544 build_request(options)

Callers

nothing calls this directly

Calls 2

copyMethod · 0.45
_build_requestMethod · 0.45

Tested by

no test coverage detected