vincbeck commented on code in PR #57967:
URL: https://github.com/apache/airflow/pull/57967#discussion_r2499284995


##########
airflow-core/src/airflow/ti_deps/deps/trigger_rule_dep.py:
##########
@@ -74,6 +74,8 @@ def calculate(cls, finished_upstreams: 
Iterator[TaskInstance]) -> _UpstreamTISta
         for ti in finished_upstreams:
             if TYPE_CHECKING:
                 assert ti.task
+            if TYPE_CHECKING:
+                assert ti.state

Review Comment:
   ```suggestion
               if TYPE_CHECKING:
                   assert ti.task
                   assert ti.state
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to