uranusjr commented on code in PR #46390: URL: https://github.com/apache/airflow/pull/46390#discussion_r1948531482
########## airflow/api_fastapi/core_api/routes/public/dag_run.py: ########## @@ -354,7 +356,8 @@ def trigger_dag_run( f"DAG with dag_id: '{dag_id}' has import errors and cannot be triggered", ) - logical_date = pendulum.instance(body.logical_date) + logical_date = pendulum.instance(body.logical_date) if body.logical_date is not None else None Review Comment: ```suggestion logical_date = timezone.coerce_datetime(body.logical_date) ``` -- 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