MCPcopy
hub / github.com/anthropics/anthropic-sdk-python / post

Method post

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

Source from the content-addressed store, hash-verified

2208
2209 @overload
2210 async def post(
2211 self,
2212 path: str,
2213 *,
2214 cast_to: Type[ResponseT],
2215 body: Body | None = None,
2216 content: AsyncBinaryTypes | None = None,
2217 files: RequestFiles | None = None,
2218 options: RequestOptions = {},
2219 stream: Literal[False] = False,
2220 ) -> ResponseT: ...
2221
2222 @overload
2223 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