Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion sqlmesh/schedulers/airflow/state_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,18 @@ def update_auto_restatements(
)

def get_environment_statements(self, environment: str) -> t.List[EnvironmentStatements]:
raise NotImplementedError(
"""Fetches the environment's statements from the environment_statements table.
Args:
environment: The environment name

Returns:
A list of the environment statements.

"""
logger.warning(
"Fetching environment statements is not supported by the Airflow state sync."
)
return []

def migrate(
self,
Expand Down