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

Method parse

src/opencode_ai/_response.py:376–376  ·  view source on GitHub ↗
(self, *, to: type[_T])

Source from the content-addressed store, hash-verified

374class AsyncAPIResponse(BaseAPIResponse[R]):
375 @overload
376 async def parse(self, *, to: type[_T]) -> _T: ...
377
378 @overload
379 async def parse(self) -> R: ...

Calls 4

readMethod · 0.95
is_givenFunction · 0.85
_parseMethod · 0.80
getMethod · 0.45