airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ashb commented on a change in pull request #3546: AIRFLOW-2664: Support filtering dag runs by id prefix in API.
Date Fri, 12 Oct 2018 14:24:58 GMT
ashb commented on a change in pull request #3546: AIRFLOW-2664: Support filtering dag runs
by id prefix in API.
URL: https://github.com/apache/incubator-airflow/pull/3546#discussion_r224801553
 
 

 ##########
 File path: airflow/models.py
 ##########
 @@ -5154,6 +5158,19 @@ def get_latest_runs(cls, session):
         )
         return dagruns
 
+    @classmethod
+    @provide_session
+    def get_runs(cls, dag_id, run_id_prefix, session=None):
 
 Review comment:
   Nothing calls this method does it? At the very least if it's useful to you then we need
tests covering it, and more detailed docstring.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message