Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anthropics/anthropic-sdk-python
/ to_aiter
Function
to_aiter
tests/test_streaming.py:249–251 ·
view source on GitHub ↗
(iter: Iterator[bytes])
Source
from the content-addressed store, hash-verified
247
assert isinstance(sync_stream, Stream)
248
249
250
async
def
to_aiter(iter: Iterator[bytes]) -> AsyncIterator[bytes]:
251
for
chunk in iter:
252
yield
chunk
253
254
Callers
2
make_event_iterator
Function · 0.70
make_stream_iterator
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected