ashb commented on a change in pull request #16678:
URL: https://github.com/apache/airflow/pull/16678#discussion_r664383462
##########
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:
For consistency with _deserilalized_dag, should this be
```suggestion
return self._deserialize_timezone(var)
```
(I think the functionality is identical.)
--
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]