vandonr-amz commented on code in PR #28528:
URL: https://github.com/apache/airflow/pull/28528#discussion_r1061834010
##########
airflow/ti_deps/deps/ready_to_reschedule.py:
##########
@@ -44,7 +45,8 @@ def _get_dep_statuses(self, ti, session, dep_context):
from airflow.models.mappedoperator import MappedOperator
is_mapped = isinstance(ti.task, MappedOperator)
- if not is_mapped and not getattr(ti.task, "reschedule", False):
+ is_debug_executor = conf.get("core", "executor") == "DebugExecutor"
Review Comment:
Yeah not great to pull this from a global static place, but looking through
what we have accessible here, I don't see anything that could help us. And
injecting this all the way through here looks like a lot of pain.
I'm pushing a commit to use the constant that's available, making this piece
of code a tiny bit better I think ?
--
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]