MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / __aiter__

Method __aiter__

tests/test_client.py:117–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115
116 @override
117 async def __aiter__(self) -> AsyncIterator[bytes]:
118 yield b"{"
119 raise self.error
120
121
122def _make_sync_iterator(iterable: Iterable[T], counter: Optional[Counter] = None) -> Iterator[T]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected