yeswanth-bf opened a new pull request, #52431:
URL: https://github.com/apache/airflow/pull/52431

   Closes #52236.
   
   **What this PR does:**
   
   - In `_handle_execution_date_fn`, tries `context['logical_date']`, then the 
legacy `context['execution_date']`, then `dag_run.run_after`.
   - Adds a pytest to validate the fallback to `execution_date`.
   
   This prevents a KeyError for users whose context lacks `logical_date` but 
still have `execution_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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to