Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ __iter__
Method
__iter__
tests/test_client.py:112–114 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
110
111
@override
112
def
__iter__(self) -> Iterator[bytes]:
113
yield
b
"{"
114
raise
self.error
115
116
@override
117
async
def
__aiter__(self) -> AsyncIterator[bytes]:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected