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 2023/01/04 21:57:04 UTC

[GitHub] [airflow] hussein-awala commented on a diff in pull request #28713: Add a param for get_dags endpoint to list only unpaused dags

hussein-awala commented on code in PR #28713:
URL: https://github.com/apache/airflow/pull/28713#discussion_r1061917772


##########
airflow/api_connexion/endpoints/dag_endpoint.py:
##########
@@ -74,14 +74,15 @@ def get_dags(
     tags: Collection[str] | None = None,
     dag_id_pattern: str | None = None,
     only_active: bool = True,
+    only_unpaused: bool = False,

Review Comment:
   I agree, my first thought was to do exactly what you're suggesting, but I implemented `only_unpaused` to continue in the same pattern. I will update it



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