ferruzzi commented on code in PR #58248:
URL: https://github.com/apache/airflow/pull/58248#discussion_r2522680922
##########
airflow-core/src/airflow/models/dagrun.py:
##########
@@ -1259,11 +1260,15 @@ def recalculate(self) -> _UnfinishedStates:
msg="success",
)
- if dag.deadline:
+ if dag.deadline and isinstance(dag.deadline[0], str):
Review Comment:
I think I may have had to add it to make mypy's type checking happy, I'll
try removing it and see what happens. It's possible I'm mis-remembering.
--
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]