From 44ba9008870eb63fb244793156da48e91cb17896 Mon Sep 17 00:00:00 2001 From: Xiaodong DENG Date: Sat, 3 Feb 2024 16:05:32 -0800 Subject: [PATCH] Remove SCHEDULED_DEPS which is no longer used anywhere since 2.0.0 (#37140) * Remove SCHEDULED_DEPS which is no longer used anywhere since 2.0.0 * Fixup --- airflow/ti_deps/dependencies_deps.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/airflow/ti_deps/dependencies_deps.py b/airflow/ti_deps/dependencies_deps.py index cf02513eab468..30a11366c3be8 100644 --- a/airflow/ti_deps/dependencies_deps.py +++ b/airflow/ti_deps/dependencies_deps.py @@ -20,7 +20,6 @@ BACKFILL_QUEUEABLE_STATES, QUEUEABLE_STATES, RUNNABLE_STATES, - SCHEDULEABLE_STATES, ) from airflow.ti_deps.deps.dag_ti_slots_available_dep import DagTISlotsAvailableDep from airflow.ti_deps.deps.dag_unpaused_dep import DagUnpausedDep @@ -33,14 +32,6 @@ from airflow.ti_deps.deps.task_not_running_dep import TaskNotRunningDep from airflow.ti_deps.deps.valid_state_dep import ValidStateDep -# Context to get the dependencies that need to be met in order for a task instance to be -# set to 'scheduled' state. -SCHEDULED_DEPS = { - RunnableExecDateDep(), - ValidStateDep(SCHEDULEABLE_STATES), - TaskNotRunningDep(), -} - # Dependencies that if met, task instance should be re-queued. REQUEUEABLE_DEPS = { DagTISlotsAvailableDep(),