bugraoz93 commented on PR #44043:
URL: https://github.com/apache/airflow/pull/44043#issuecomment-2480738364

   FastAPI itself returns `str` for `datetime` objects in both requests and 
responses. As mentioned earlier, I’m not certain if there would be a meaningful 
difference since `pendulum.parse()` already supports the `ISO 8601` format.
   
   > * datetime.datetime:
   A Python datetime.datetime.
   In requests and responses will be represented as a str in ISO 8601 format, 
like: 2008-09-15T15:53:00+05:00.
   
   
https://fastapi.tiangolo.com/tutorial/extra-data-types/?h=datet#other-data-types


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