Skip to content

Commit 2c58167

Browse files
committed
cosmetic
1 parent 8e8bcad commit 2c58167

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sqlmesh/core/plan/stages.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,11 +584,10 @@ def _get_audit_only_snapshots(
584584

585585
metadata_snapshots.append(snapshot)
586586

587+
# Bulk load all the previous snapshots
587588
previous_snapshot_ids = [
588589
s.previous_version.snapshot_id(s.name) for s in metadata_snapshots if s.previous_version
589590
]
590-
591-
# Bulk load all the previous snapshots
592591
previous_snapshots = {
593592
s.name: s for s in self.state_reader.get_snapshots(previous_snapshot_ids).values()
594593
}

0 commit comments

Comments
 (0)