ferruzzi commented on code in PR #51638:
URL: https://github.com/apache/airflow/pull/51638#discussion_r2141764844
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_run.py:
##########
@@ -421,6 +421,18 @@ def trigger_dag_run(
state=DagRunState.QUEUED,
session=session,
)
+
+ if dag.deadline and dag.has_dagrun_deadline():
Review Comment:
interesting, I wonder why mypy would allow that but not `if
dag.get_dagrun_deadline():`? I'll give it a try, thanks.
--
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]