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

Method __aiter__

src/openai/_base_client.py:337–340  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

335 self._options = options
336
337 async def __aiter__(self) -> AsyncIterator[_T]:
338 async for page in self.iter_pages():
339 for item in page._get_page_items():
340 yield item
341
342 async def iter_pages(self: AsyncPageT) -> AsyncIterator[AsyncPageT]:
343 page = self

Callers

nothing calls this directly

Calls 2

iter_pagesMethod · 0.95
_get_page_itemsMethod · 0.45

Tested by

no test coverage detected