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/08/10 08:26:00 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #17414: Allow custom timetable as a DAG argument

uranusjr commented on a change in pull request #17414:
URL: https://github.com/apache/airflow/pull/17414#discussion_r685803516



##########
File path: airflow/www/views.py
##########
@@ -2601,7 +2601,7 @@ def landing_times(self, session=None):
             x_points[task_id] = []
             for ti in tis:
                 ts = ti.execution_date
-                if dag.schedule_interval and dag.following_schedule(ts):
+                if dag.following_schedule(ts):

Review comment:
       `DAG.following_schedule()` returns None when `DAG.schedule_interval` is `None` anyway, so the `dag.schedule_interval` check is not needed.




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