steveahnahn commented on PR #58791:
URL: https://github.com/apache/airflow/pull/58791#issuecomment-3594086622

   @amoghrajesh You're right that at runtime it returns datetime. This is 
because when the response travels from supervisor to task runner, it gets 
deserialized where Pydantic validation converts the string to datetime. As for 
client.py, it was returning a string with model_construct() which bypasses 
validation, and the test itself was testing against a string and passing. This 
fix ensures the client returns the correct type rather than relying on 
downstream


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