This is an automated email from the ASF dual-hosted git repository.

taragolis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 44ba900887 Remove SCHEDULED_DEPS which is no longer used anywhere 
since 2.0.0 (#37140)
44ba900887 is described below

commit 44ba9008870eb63fb244793156da48e91cb17896
Author: Xiaodong DENG <[email protected]>
AuthorDate: Sat Feb 3 16:05:32 2024 -0800

    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 cf02513eab..30a11366c3 100644
--- a/airflow/ti_deps/dependencies_deps.py
+++ b/airflow/ti_deps/dependencies_deps.py
@@ -20,7 +20,6 @@ from airflow.ti_deps.dependencies_states import (
     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_concurrency_dep import 
TaskConcurrencyDep
 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(),

Reply via email to