vatsrahul1001 commented on code in PR #46390: URL: https://github.com/apache/airflow/pull/46390#discussion_r1949198397
########## 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 = timezone.coerce_datetime(body.logical_date) Review Comment: `coerce_datetime ` will handle none -- 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