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

Method delete

src/opencode_ai/_base_client.py:1789–1798  ·  view source on GitHub ↗
(
        self,
        path: str,
        *,
        cast_to: Type[ResponseT],
        body: Body | None = None,
        options: RequestOptions = {},
    )

Source from the content-addressed store, hash-verified

1787 return await self.request(cast_to, opts)
1788
1789 async def delete(
1790 self,
1791 path: str,
1792 *,
1793 cast_to: Type[ResponseT],
1794 body: Body | None = None,
1795 options: RequestOptions = {},
1796 ) -> ResponseT:
1797 opts = FinalRequestOptions.construct(method="delete", url=path, json_data=body, **options)
1798 return await self.request(cast_to, opts)
1799
1800 def get_api_list(
1801 self,

Callers

nothing calls this directly

Calls 2

requestMethod · 0.95
constructMethod · 0.45

Tested by

no test coverage detected