pateash commented on a change in pull request #16931:
URL: https://github.com/apache/airflow/pull/16931#discussion_r670954242



##########
File path: airflow/timetables/base.py
##########
@@ -83,6 +83,13 @@ def interval(cls, start: DateTime, end: DateTime) -> 
"DagRunInfo":
 class Timetable(Protocol):
     """Protocol that all Timetable classes are expected to implement."""
 
+    @property
+    def interval_description(self) -> [str, None]:

Review comment:
       Agree, but I think Optional[] is more descriptive, as it means that 
there is no description available rather.




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


Reply via email to