Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ def execute(self, context: Context):
)

# TODO(potiuk) remove the type ignore once we solve provider <-> Task SDK relationship
self.skip_all_except(context["ti"], follow_branch) # type: ignore[arg-type]
self.skip_all_except(context["ti"], follow_branch)


def _initialize_partition_clause(clause: str | None) -> str | None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def test_sql_sensor_postgres_poke_invalid_failure(self, mock_hook):
task_id="sql_sensor_check",
conn_id="postgres_default",
sql="SELECT 1",
failure=[1], # type: ignore[arg-type]
failure=[1],
)

mock_hook.get_connection.return_value.get_hook.return_value = mock.MagicMock(spec=DbApiHook)
Expand All @@ -246,7 +246,7 @@ def test_sql_sensor_postgres_poke_invalid_success(
task_id="sql_sensor_check",
conn_id="postgres_default",
sql="SELECT 1",
success=[1], # type: ignore[arg-type]
success=[1],
)

mock_hook.get_connection.return_value.get_hook.return_value = mock.MagicMock(spec=DbApiHook)
Expand Down