Closed
Description
The signature of tqdm_asyncio.__init__
wrongly uses iterable: Iterable[_T]
when it should beiterable: Iterable[_T] | Iterator[_T] | AsyncIterator[_T]
.
The implementation checks for __anext__
and __next__
, falling back to iter()
.
https://github.com/tqdm/tqdm/blob/0ed5d7f18fa3153834cbac0aa57e8092b217cc16/tqdm/asyncio.py#L26-L34
Metadata
Metadata
Assignees
Labels
No labels