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

Method test_method_retrieve

tests/api_resources/test_files.py:326–330  ·  tests/api_resources/test_files.py::TestAsyncFiles.test_method_retrieve
(self, async_client: AsyncOpenAI)

Source from the content-addressed store, hash-verified

324
325 @parametrize
326 async def test_method_retrieve(self, async_client: AsyncOpenAI) -> None:
327 file = await async_client.files.retrieve(
328 class="st">"string",
329 )
330 assert_matches_type(FileObject, file, path=[class="st">"response"])
331
332 @parametrize
333 async def test_raw_response_retrieve(self, async_client: AsyncOpenAI) -> None:

Callers

nothing calls this directly

Calls 2

assert_matches_typeFunction · 0.90
retrieveMethod · 0.45

Tested by

no test coverage detected