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

Method request

src/openai/_base_client.py:967–974  ·  src/openai/_base_client.py::SyncAPIClient.request
(
        self,
        cast_to: Type[ResponseT],
        options: FinalRequestOptions,
        *,
        stream: Literal[True],
        stream_cls: Type[_StreamT],
    )

Source from the content-addressed store, hash-verified

965
966 @overload
967 def request(
968 self,
969 cast_to: Type[ResponseT],
970 options: FinalRequestOptions,
971 *,
972 stream: Literal[True],
973 stream_cls: Type[_StreamT],
974 ) -> _StreamT: ...
975
976 @overload
977 def request(

Callers 7

_request_api_listMethod · 0.95
getMethod · 0.95
postMethod · 0.95
patchMethod · 0.95
putMethod · 0.95
deleteMethod · 0.95
_get_pageMethod · 0.45

Calls 15

_prepare_optionsMethod · 0.95
_prepare_requestMethod · 0.95
_send_requestMethod · 0.95
_sleep_for_retryMethod · 0.95
_process_responseMethod · 0.95
model_copyFunction · 0.85
APITimeoutErrorClass · 0.85
APIConnectionErrorClass · 0.85
_idempotency_keyMethod · 0.80
get_max_retriesMethod · 0.80

Tested by

no test coverage detected