uranusjr commented on a change in pull request #16931:
URL: https://github.com/apache/airflow/pull/16931#discussion_r729024231
##########
File path: airflow/timetables/interval.py
##########
@@ -221,6 +223,20 @@ def infer_manual_data_interval(self, *, run_after:
DateTime) -> DataInterval:
end = self._get_prev(self._align(run_after))
return DataInterval(start=self._get_prev(end), end=end)
+ @cached_property
+ def interval_description(self) -> Optional[str]:
Review comment:
Since this value is for UI only, I feel it's better to just return an
empty string instead.
Comments for the protocol definition about caching also apply here.
--
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]