Skip to content

Commit 2e4b708

Browse files
committed
Chore: Fix airflow tests
1 parent 504c586 commit 2e4b708

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sqlmesh/core/snapshot/evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def _evaluate_snapshot(
472472
batch_index: If the snapshot is part of a batch of related snapshots; which index in the batch is it
473473
kwargs: Additional kwargs to pass to the renderer.
474474
"""
475-
if not snapshot.is_model:
475+
if not snapshot.is_model or snapshot.is_seed:
476476
return None
477477

478478
model = snapshot.model

tests/core/test_state_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ def test_version_sqlmesh(state_sync: EngineAdapterStateSync) -> None:
14741474
# patch version sqlmesh doesn't matter
14751475
major, minor, patch, *_ = SQLMESH_VERSION_TUPLE
14761476
new_patch = (
1477-
f"dev{int(patch[3:]) + 1}"
1477+
f"dev{int(patch[3:]) + 1}" # type: ignore
14781478
if isinstance(patch, str) and patch.startswith("dev")
14791479
else f"{int(patch) + 1}"
14801480
)

0 commit comments

Comments
 (0)