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 2018/10/12 15:06:28 UTC
[GitHub] rcorre commented on a change in pull request #3546: AIRFLOW-2664:
Support filtering dag runs by id prefix in API.
rcorre 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_r224817073
##########
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:
Nope, realized I could do it more easily by adding a param to `find` and forgot to remove this
----------------------------------------------------------------
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