Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ __anext__
Method
__anext__
src/openai/_streaming.py:154–155 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
152
self._iterator = self.__stream__()
153
154
async
def
__anext__(self) -> _T:
155
return
await self._iterator.__anext__()
156
157
async
def
__aiter__(self) -> AsyncIterator[_T]:
158
async
for
item in self._iterator:
Callers
2
iter_next
Function · 0.45
async_main
Function · 0.45
Calls
no outgoing calls
Tested by
1
iter_next
Function · 0.36