ecerulm commented on issue #16551:
URL: https://github.com/apache/airflow/issues/16551#issuecomment-866466511


   > If we coerce the datetime object in `__init__`, we can remove the later 
timezone type coercion we have right now.
   
   Yes, and you will get rid of InvalidTimezone at `DAG.following_schedule()` 
and `DAG.previous_schedule()` but it will still raise InvalidTimezone on dag 
deserialization. So it's actually detrimental to coerce to pendulum. 
   
   


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

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


Reply via email to