We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58be68 commit 755a493Copy full SHA for 755a493
sqlmesh/core/scheduler.py
@@ -730,8 +730,9 @@ def _find_upstream_dependencies(
730
parent_sid: SnapshotId,
731
intervals_per_snapshot: t.Dict[str, Intervals],
732
snapshots_to_create: t.Set[SnapshotId],
733
- cache: t.Dict[SnapshotId, t.Set[SchedulingUnit]] = {},
+ cache: t.Optional[t.Dict[SnapshotId, t.Set[SchedulingUnit]]] = None,
734
) -> t.Set[SchedulingUnit]:
735
+ cache = cache or {}
736
if parent_sid not in self.snapshots:
737
return set()
738
if parent_sid in cache:
0 commit comments