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

Method request

src/anthropic/_base_client.py:1083–1090  ·  view source on GitHub ↗
(
        self,
        cast_to: Type[ResponseT],
        options: FinalRequestOptions,
        *,
        stream: Literal[True],
        stream_cls: Type[_StreamT],
    )

Source from the content-addressed store, hash-verified

1081
1082 @overload
1083 def request(
1084 self,
1085 cast_to: Type[ResponseT],
1086 options: FinalRequestOptions,
1087 *,
1088 stream: Literal[True],
1089 stream_cls: Type[_StreamT],
1090 ) -> _StreamT: ...
1091
1092 @overload
1093 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 14

_attempt_requestMethod · 0.95
_process_responseMethod · 0.95
_sleep_for_retryMethod · 0.95
model_copyFunction · 0.85
APIRequestClass · 0.85
_idempotency_keyMethod · 0.80
get_max_retriesMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected