Skip to content

Commit

Permalink
Fix tqdm.asyncio type inconsistency (#13259)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbaikov authored Dec 19, 2024
1 parent 1964076 commit d31e3ea
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] | AsyncIterator[_T],
desc: str | None = ...,
total: float | None = ...,
leave: bool | None = ...,
Expand Down

0 comments on commit d31e3ea

Please sign in to comment.