diff --git a/stubs/tqdm/tqdm/dask.pyi b/stubs/tqdm/tqdm/dask.pyi index 4ee807b781ef..89e05758be36 100644 --- a/stubs/tqdm/tqdm/dask.pyi +++ b/stubs/tqdm/tqdm/dask.pyi @@ -23,8 +23,12 @@ class _Callback: def unregister(self) -> None: ... class TqdmCallback(_Callback): - tqdm_class: type[Incomplete] + tqdm_class: Callable[..., Incomplete] def __init__( - self, start: Incomplete | None = ..., pretask: Incomplete | None = ..., tqdm_class: type[Incomplete] = ..., **tqdm_kwargs + self, + start: Incomplete | None = ..., + pretask: Incomplete | None = ..., + tqdm_class: Callable[..., Incomplete] = ..., + **tqdm_kwargs, ) -> None: ... def display(self) -> None: ...