Skip to content

Commit f0458eb

Browse files
fix quality (#3128)
1 parent db9862c commit f0458eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/huggingface_hub/hf_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
Literal,
3939
Optional,
4040
Tuple,
41+
Type,
4142
TypeVar,
4243
Union,
4344
overload,
@@ -5533,7 +5534,7 @@ def snapshot_download(
55335534
allow_patterns: Optional[Union[List[str], str]] = None,
55345535
ignore_patterns: Optional[Union[List[str], str]] = None,
55355536
max_workers: int = 8,
5536-
tqdm_class: Optional[base_tqdm] = None,
5537+
tqdm_class: Optional[Type[base_tqdm]] = None,
55375538
# Deprecated args
55385539
local_dir_use_symlinks: Union[bool, Literal["auto"]] = "auto",
55395540
resume_download: Optional[bool] = None,

0 commit comments

Comments
 (0)