Skip to content

Commit

Permalink
Fix tqdm.asyncio type inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
kbaikov committed Dec 17, 2024
1 parent 54e1c6a commit 9a1f6dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/tqdm/tqdm/asyncio.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from _typeshed import Incomplete, SupportsWrite
from collections.abc import Awaitable, Callable, Generator, Iterable, Iterator, Mapping
from collections.abc import AsyncIterator, Awaitable, Callable, Generator, Iterable, Iterator, Mapping
from typing import NoReturn, TypeVar, overload
from typing_extensions import Self

Expand Down Expand Up @@ -84,7 +84,7 @@ class tqdm_asyncio(std_tqdm[_T]):
@overload
def __init__(
self,
iterable: Iterable[_T],
iterable: Iterable[_T] | Iterator[_T] | AsyncIterator[_T],
desc: str | None = ...,
total: float | None = ...,
leave: bool | None = ...,
Expand Down

0 comments on commit 9a1f6dd

Please sign in to comment.