Skip to content

Commit

Permalink
fix: added pass-thru of get_tombstoned. (#6032)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Hegeman <daniel.hegeman@chanzuckerberg.com>
  • Loading branch information
MillenniumFalconMechanic and Daniel Hegeman authored Oct 20, 2023
1 parent c5075ea commit 8eb314c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/layers/persistence/persistence_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def get_collection_version_with_datasets(
version = self.collections_versions.get(version_id.id)
if not version:
return None
version = self._update_version_with_canonical(version, update_datasets=True)
version = self._update_version_with_canonical(version, update_datasets=True, get_tombstoned=get_tombstoned)
if not get_tombstoned and version.canonical_collection.tombstoned:
return None
return version
Expand Down

0 comments on commit 8eb314c

Please sign in to comment.