We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9862c commit f0458ebCopy full SHA for f0458eb
src/huggingface_hub/hf_api.py
@@ -38,6 +38,7 @@
38
Literal,
39
Optional,
40
Tuple,
41
+ Type,
42
TypeVar,
43
Union,
44
overload,
@@ -5533,7 +5534,7 @@ def snapshot_download(
5533
5534
allow_patterns: Optional[Union[List[str], str]] = None,
5535
ignore_patterns: Optional[Union[List[str], str]] = None,
5536
max_workers: int = 8,
- tqdm_class: Optional[base_tqdm] = None,
5537
+ tqdm_class: Optional[Type[base_tqdm]] = None,
5538
# Deprecated args
5539
local_dir_use_symlinks: Union[bool, Literal["auto"]] = "auto",
5540
resume_download: Optional[bool] = None,
0 commit comments