Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ to_aiter
Function
to_aiter
tests/test_streaming.py:219–221 ·
view source on GitHub ↗
(iter: Iterator[bytes])
Source
from the content-addressed store, hash-verified
217
assert sse.json() == {
"content"
:
"известни"
}
218
219
220
async
def
to_aiter(iter: Iterator[bytes]) -> AsyncIterator[bytes]:
221
for
chunk in iter:
222
yield
chunk
223
224
Callers
1
make_event_iterator
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected