diff --git a/stubs/tqdm/tqdm/utils.pyi b/stubs/tqdm/tqdm/utils.pyi index 4f55afc5e..f18408e60 100644 --- a/stubs/tqdm/tqdm/utils.pyi +++ b/stubs/tqdm/tqdm/utils.pyi @@ -1,5 +1,5 @@ from _typeshed import Incomplete -from collections.abc import Callable +from collections.abc import Callable, Mapping from re import Pattern from typing import Protocol, TypeVar from typing_extensions import ParamSpec @@ -54,5 +54,5 @@ class CallbackIOWrapper(ObjectWrapper): def disp_len(data: str) -> int: ... def disp_trim(data: str, length: int) -> str: ... def envwrap( - prefix: str, case_sensitive: bool = False, literal_eval: bool = False, is_method: bool = False + prefix: str, types: Mapping[str, Callable[[Incomplete], Incomplete]] | None = None, is_method: bool = False ) -> Callable[[Callable[_P, _R]], Callable[_P, _R]]: ...