Taragolis commented on code in PR #34744: URL: https://github.com/apache/airflow/pull/34744#discussion_r1347070794
########## airflow/serialization/serialized_objects.py: ########## @@ -162,9 +163,9 @@ def encode_timezone(var: Timezone) -> str | int: ) -def decode_timezone(var: str | int) -> Timezone: +def decode_timezone(var: str | int) -> Timezone | FixedTimezone: Review Comment: In pendulum 2 FixedTimezone subclass of Timezone In pendulum 3 both Timezone and FixedTimezone are subclasses of PendulumTimezone So yeah, right now we could use Timezone annotation -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org