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

uranusjr 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 a3afd7d4a8 Remove stale comment on setup cannot be mapped (#32998)
a3afd7d4a8 is described below

commit a3afd7d4a87d178db103516237e7a8ba8758546d
Author: Tzu-ping Chung <[email protected]>
AuthorDate: Tue Aug 1 18:10:49 2023 +0800

    Remove stale comment on setup cannot be mapped (#32998)
---
 airflow/ti_deps/deps/trigger_rule_dep.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/airflow/ti_deps/deps/trigger_rule_dep.py 
b/airflow/ti_deps/deps/trigger_rule_dep.py
index 3d2cc21d06..aff1640c30 100644
--- a/airflow/ti_deps/deps/trigger_rule_dep.py
+++ b/airflow/ti_deps/deps/trigger_rule_dep.py
@@ -67,7 +67,6 @@ class _UpstreamTIStates(NamedTuple):
         for ti in finished_upstreams:
             curr_state = {ti.state: 1}
             counter.update(curr_state)
-            # setup task cannot be mapped
             if ti.task.is_setup:
                 setup_counter.update(curr_state)
         return _UpstreamTIStates(

Reply via email to