Skip to content

Commit

Permalink
Remove SCHEDULED_DEPS which is no longer used anywhere since 2.0.0 (#…
Browse files Browse the repository at this point in the history
…37140)

* Remove SCHEDULED_DEPS which is no longer used anywhere since 2.0.0

* Fixup
  • Loading branch information
XD-DENG authored Feb 4, 2024
1 parent f24a037 commit 44ba900
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions airflow/ti_deps/dependencies_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(),
Expand Down

0 comments on commit 44ba900

Please sign in to comment.