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 2022/01/04 06:34:11 UTC

[GitHub] [airflow] ephraimbuddy commented on a change in pull request #20485: Add filter by state in DagRun REST API (List Dag Runs)

ephraimbuddy commented on a change in pull request #20485:
URL: https://github.com/apache/airflow/pull/20485#discussion_r777853209



##########
File path: airflow/api_connexion/endpoints/dag_run_endpoint.py
##########
@@ -149,6 +149,7 @@ def get_dag_runs(
     execution_date_lte: Optional[str] = None,
     end_date_gte: Optional[str] = None,
     end_date_lte: Optional[str] = None,
+    state: Optional[str] = None,

Review comment:
       We have `state` in open API doc instead of `states`, I don't think it'll work to change it to `states`




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