MCPcopy
hub / github.com/openai/openai-python / post

Method post

src/openai/_base_client.py:1865–1875  ·  src/openai/_base_client.py::AsyncAPIClient.post
(
        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

1863
1864 @overload
1865 async def post(
1866 self,
1867 path: str,
1868 *,
1869 cast_to: Type[ResponseT],
1870 body: Body | None = None,
1871 content: AsyncBinaryTypes | None = None,
1872 files: RequestFiles | None = None,
1873 options: RequestOptions = {},
1874 stream: Literal[False] = False,
1875 ) -> ResponseT: ...
1876
1877 @overload
1878 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