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

Method post

src/opencode_ai/_base_client.py:1711–1720  ·  view source on GitHub ↗
(
        self,
        path: str,
        *,
        cast_to: Type[ResponseT],
        body: Body | None = None,
        files: RequestFiles | None = None,
        options: RequestOptions = {},
        stream: Literal[False] = False,
    )

Source from the content-addressed store, hash-verified

1709
1710 @overload
1711 async def post(
1712 self,
1713 path: str,
1714 *,
1715 cast_to: Type[ResponseT],
1716 body: Body | None = None,
1717 files: RequestFiles | None = None,
1718 options: RequestOptions = {},
1719 stream: Literal[False] = False,
1720 ) -> ResponseT: ...
1721
1722 @overload
1723 async def post(

Callers

nothing calls this directly

Calls 3

requestMethod · 0.95
async_to_httpx_filesFunction · 0.85
constructMethod · 0.45

Tested by

no test coverage detected