Skip to content

Commit b5c798c

Browse files
committed
Fix type
1 parent ce83bc3 commit b5c798c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dandiapi/api/management/commands/collect_garbage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# but does not have a corresponding S3 blob. When using django-minio-storage, this results in
1010
# a `minio.error.S3Error` being raised, but if the user is using the S3 backend from
1111
# django-storages, it will raise a `FileNotFoundError` instead.
12-
upload_missing_blob_exceptions = (FileNotFoundError,)
12+
upload_missing_blob_exceptions: tuple[type[Exception], ...] = (FileNotFoundError,)
1313
try:
1414
from minio.error import S3Error
1515

0 commit comments

Comments
 (0)