uranusjr commented on code in PR #25594:
URL: https://github.com/apache/airflow/pull/25594#discussion_r942175585


##########
airflow/ti_deps/deps/ready_to_reschedule.py:
##########
@@ -40,7 +40,9 @@ def _get_dep_statuses(self, ti, session, dep_context):
         considered as passed. This dependency fails if the latest reschedule
         request's reschedule date is still in future.
         """
-        if not getattr(ti.task, "reschedule", False):
+        is_mapped = ti.task.is_mapped
+        if not is_mapped and not getattr(ti.task, "reschedule", False):
+            # Mapped sensors don't currently have the reschedule property,

Review Comment:
   ```suggestion
               # Mapped sensors don't have the reschedule property (it can only
               # be calculated after unmapping), so we don't check them here.
               # They are handled below by checking TaskReschedule instead.
   ```



-- 
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