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 2020/03/27 15:24:58 UTC

[GitHub] [airflow] feluelle commented on a change in pull request #7900: Convert properties with query to real methods

feluelle commented on a change in pull request #7900: Convert properties with query to real methods
URL: https://github.com/apache/airflow/pull/7900#discussion_r399343659
 
 

 ##########
 File path: airflow/www/views.py
 ##########
 @@ -93,7 +93,7 @@ def get_date_time_num_runs_dag_runs_form_data(request, session, dag):
     if dttm:
         dttm = timezone.parse(dttm)
     else:
-        dttm = dag.latest_execution_date or timezone.utcnow()
+        dttm = dag.get_latest_execution_date() or timezone.utcnow()
 
 Review comment:
   ```suggestion
           dttm = dag.get_latest_execution_date(session) or timezone.utcnow()
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services