Skip to content

Commit dc51aa9

Browse files
committed
refactor: address CodeRabbit review comments (3)
1 parent e33ab8c commit dc51aa9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

databusclient/api/download.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ def _download_collection(
467467
continue
468468
if ver is None:
469469
continue
470+
if h is None or acc is None or grp is None or art is None:
471+
continue
470472
version_uri = f"https://{h}/{acc}/{grp}/{art}/{ver}"
471473
versions_map.setdefault(version_uri, []).append(fu)
472474

0 commit comments

Comments
 (0)