You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/27 11:47:06 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #16678: Serialize dag timezone to a tzname or offset

kaxil commented on a change in pull request #16678:
URL: https://github.com/apache/airflow/pull/16678#discussion_r677371540



##########
File path: airflow/serialization/serialized_objects.py
##########
@@ -284,7 +286,7 @@ def _deserialize(cls, encoded_var: Any) -> Any:
         elif type_ == DAT.TIMEDELTA:
             return datetime.timedelta(seconds=var)
         elif type_ == DAT.TIMEZONE:
-            return Timezone(var)
+            return pendulum.timezone(var)

Review comment:
       @ecerulm ^^ can you take a look at this suggestion please and rebase to the latest main at the same time, thanks




-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org