pierrejeambrun commented on code in PR #59477:
URL: https://github.com/apache/airflow/pull/59477#discussion_r2631654573
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/dag_run.py:
##########
@@ -126,10 +126,7 @@ def validate_context(self, dag: SerializedDAG) -> dict:
end=timezone.coerce_datetime(self.data_interval_end),
)
else:
- data_interval = dag.timetable.infer_manual_data_interval(
- run_after=coerced_logical_date or
timezone.coerce_datetime(run_after)
- )
- run_after = data_interval.end
+ data_interval =
dag.timetable.infer_manual_data_interval(run_after=coerced_logical_date)
Review Comment:
Can you explain why you removed the `data_interval` being inferred from the
`run_after` date if the `coerced_logical_date` is None?
This piece doesn't seem directly related to the fix. (just removing the
`run_after = data_interval.end` should be enough)?
--
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]