uranusjr commented on code in PR #54119:
URL: https://github.com/apache/airflow/pull/54119#discussion_r2259946991
##########
airflow-core/src/airflow/api/common/trigger_dag.py:
##########
@@ -85,10 +84,11 @@ def _trigger_dag(
f"[{min_dag_start_date.isoformat()}] from DAG's
default_args"
)
coerced_logical_date = timezone.coerce_datetime(logical_date)
- data_interval =
dag.timetable.infer_manual_data_interval(run_after=run_after)
+ data_interval =
dag.timetable.infer_manual_data_interval(run_after=coerced_logical_date)
Review Comment:
This does not look right. The method takes a `run_after`, passing in
something else is just wrong.
--
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]