uranusjr commented on code in PR #23662:
URL: https://github.com/apache/airflow/pull/23662#discussion_r930771069
##########
airflow/timetables/interval.py:
##########
@@ -148,7 +148,7 @@ def __init__(self, cron: str, timezone: Union[str,
Timezone]) -> None:
self.description = interval_description
@classmethod
- def deserialize(cls, data: Dict[str, Any]) -> "Timetable":
+ def deserialize(cls, data: Dict[str, Any]) -> "_CronMixin":
Review Comment:
This should still return `Timetable` since it should only be called against
a timetable subclass
--
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]