Fix tqdm.asyncio type inconsistency (#13259)

This commit is contained in:
Konstantin Baikov authored and GitHub committed 2024-12-19 10:48:07 +01:00
1 parent 1964076a8e
commit d31e3ea11e
1 file changed
+2 -2
+2 -2
View File
@@ -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
@@ -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 = ...,