ashb commented on code in PR #28713:
URL: https://github.com/apache/airflow/pull/28713#discussion_r1061586963


##########
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:
   This is a bit of a double negative here which we should avoid
   
   Also it's not possible to list _only_ paused dags.
   
   How about instead we have
   
   `paused: bool | None = None` -- if it's None we don't filter, otherwise we 
filter by the given value?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to