Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion databusclient/api/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,10 @@ def _download_files(
validate_checksum: Whether to validate checksums after downloading.
checksums: Dictionary mapping URLs to their expected checksums.
"""
for url in urls:
# Overall progress bar for multiple files
# We use position=0 so it stays at the top, while individual file progress
# bars (which are not given a position explicitly) will print below it.
for url in tqdm(urls, desc="Overall Progress", unit="file", position=0):
expected = None
if checksums and isinstance(checksums, dict):
expected = checksums.get(url)
Expand Down