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

Method request

src/anthropic/_base_client.py:1822–1828  ·  view source on GitHub ↗
(
        self,
        cast_to: Type[ResponseT],
        options: FinalRequestOptions,
        *,
        stream: Literal[False] = False,
    )

Source from the content-addressed store, hash-verified

1820
1821 @overload
1822 async def request(
1823 self,
1824 cast_to: Type[ResponseT],
1825 options: FinalRequestOptions,
1826 *,
1827 stream: Literal[False] = False,
1828 ) -> ResponseT: ...
1829
1830 @overload
1831 async def request(

Callers 5

getMethod · 0.95
postMethod · 0.95
patchMethod · 0.95
putMethod · 0.95
deleteMethod · 0.95

Calls 15

_attempt_requestMethod · 0.95
_process_responseMethod · 0.95
_sleep_for_retryMethod · 0.95
asyncifyFunction · 0.85
model_copyFunction · 0.85
APIRequestClass · 0.85
_idempotency_keyMethod · 0.80
get_max_retriesMethod · 0.80
areadMethod · 0.80

Tested by

no test coverage detected