MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / request

Method request

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

Source from the content-addressed store, hash-verified

1436
1437 @overload
1438 async def request(
1439 self,
1440 cast_to: Type[ResponseT],
1441 options: FinalRequestOptions,
1442 *,
1443 stream: Literal[False] = False,
1444 ) -> ResponseT: ...
1445
1446 @overload
1447 async def request(

Callers 5

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

Calls 15

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

Tested by

no test coverage detected