MCPcopy Index your code
hub / github.com/openai/openai-python / build_request

Method build_request

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

Source from the content-addressed store, hash-verified

274 options = FinalRequestOptions(method="get", url="/foo")
275
276 def build_request(options: FinalRequestOptions) -> None:
277 client_copy = client.copy()
278 client_copy._build_request(options)
279
280 # ensure that the machinery is warmed up before tracing starts.
281 build_request(options)

Callers 1

_build_requestMethod · 0.45

Calls 2

copyMethod · 0.45
_build_requestMethod · 0.45

Tested by

no test coverage detected