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/02/23 11:43:43 UTC
[GitHub] [airflow] kaxil commented on a change in pull request #14306: Adding `only_active` parameter to /dags endpoint
kaxil commented on a change in pull request #14306:
URL: https://github.com/apache/airflow/pull/14306#discussion_r580968816
##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -377,6 +377,13 @@ paths:
parameters:
- $ref: '#/components/parameters/PageLimit'
- $ref: '#/components/parameters/PageOffset'
+ - name: only_active
+ in: query
+ schema:
+ type: boolean
+ default: true
Review comment:
https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1614076697109600?thread_ts=1611774898.219100&cid=CCQ7EGB1P -- A User thought showing a deleted dag was a bug in the API.
Having the default as `True` gives us the same result as we have on the Webserver -- which would be ideal.
----------------------------------------------------------------
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