Skip to content

Commit

Permalink
Fix PIE800 Unnecessary spread **
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Dec 8, 2023
1 parent 2264912 commit 8e22946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dandiapi/api/services/metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def version_aggregate_assets_summary(version: Version) -> None:
.iterator()
)

updated_metadata = {**version.metadata, **{'assetsSummary': assets_summary}}
updated_metadata = {**version.metadata, 'assetsSummary': assets_summary}

updated_count = Version.objects.filter(id=version.id, metadata=version.metadata).update(
modified=timezone.now(), metadata=updated_metadata
Expand Down

0 comments on commit 8e22946

Please sign in to comment.