MCPcopy Create free account
hub / github.com/openai/openai-python / get_api_list

Method get_api_list

src/openai/_base_client.py:1407–1418  ·  view source on GitHub ↗
(
        self,
        path: str,
        *,
        model: Type[object],
        page: Type[SyncPageT],
        body: Body | None = None,
        options: RequestOptions = {},
        method: str = "get",
    )

Source from the content-addressed store, hash-verified

1405 return self.request(cast_to, opts)
1406
1407 def get_api_list(
1408 self,
1409 path: str,
1410 *,
1411 model: Type[object],
1412 page: Type[SyncPageT],
1413 body: Body | None = None,
1414 options: RequestOptions = {},
1415 method: str = "get",
1416 ) -> SyncPageT:
1417 opts = FinalRequestOptions.construct(method=method, url=path, json_data=body, **options)
1418 return self._request_api_list(model, page, opts)
1419
1420
1421class _DefaultAsyncHttpxClient(httpx.AsyncClient):

Callers

nothing calls this directly

Calls 2

_request_api_listMethod · 0.95
constructMethod · 0.45

Tested by

no test coverage detected