Skip to content

Commit

Permalink
Merge pull request #1244 from dandi/fix-types-tasks-module
Browse files Browse the repository at this point in the history
Fix type errors in `tasks`
  • Loading branch information
mvandenburgh committed Aug 18, 2022
2 parents ede6f0f + 449ea82 commit 2a1ecd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion dandiapi/api/tasks/zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def ingest_zarr_archive(

# Zarr is in correct state, lock until ingestion finishes
with transaction.atomic():
zarr: ZarrArchive = ZarrArchive.objects.select_for_update().get(zarr_id=zarr_id)
zarr = ZarrArchive.objects.select_for_update().get(zarr_id=zarr_id)

# Reset before compute
if not no_size:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ exclude = [
"^dandiapi/api/management/",
"^dandiapi/api/migrations/",
"^dandiapi/api/models/",
"^dandiapi/api/tasks/",
"^dandiapi/api/views/",
]

Expand Down

0 comments on commit 2a1ecd6

Please sign in to comment.