steveahnahn opened a new pull request, #58791:
URL: https://github.com/apache/airflow/pull/58791

   ## Problem
   ti.get_first_reschedule_date() returns a string instead of a datetime object 
when running due to TaskRescheduleStartDate.model_construct() bypasses Pydantic 
validation. The corresponding unit test also tested against a string.
   
   ## Solution
   Use the standard Pydantic constructor instead of model_construct() to ensure 
it parses the ISO string into a timezone-aware datetime object and fixes the 
associated test.
   
   ## Related Issue
   Closes #58777


-- 
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