ferruzzi commented on code in PR #51638: URL: https://github.com/apache/airflow/pull/51638#discussion_r2141316967
########## 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: This is a little redundant, but mypy required the `if dag.deadline` check to be separate like that. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org