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

Method parse

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

Source from the content-addressed store, hash-verified

272class APIResponse(BaseAPIResponse[R]):
273 @overload
274 def parse(self, *, to: type[_T]) -> _T: ...
275
276 @overload
277 def parse(self) -> R: ...

Calls 4

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