MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / __aiter__

Method __aiter__

conftest.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 __slots__ = ()
41
42 def __aiter__(self) -> streams.AsyncStreamIterator[bytes]:
43 return streams.AsyncStreamIterator(self.readline) # type: ignore[attr-defined]
44
45 def iter_chunked(self, n: int) -> streams.AsyncStreamIterator[bytes]:
46 return streams.AsyncStreamIterator(lambda: self.read(n)) # type: ignore[attr-defined]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected