shahar1 opened a new issue, #36956:
URL: https://github.com/apache/airflow/issues/36956

   ### Description
   
   Allow Airflow CLI's `dag` subcommands , `pause` and `unpause`, to support 
multiple DAG IDs instead of only one.
   
   ### Use case/motivation
   
   There are cases where we would like to pause or resume multiple DAGs at 
once. As a Cloud Composer user - I'd like to do both, for example, before and 
after 
[upgrading](https://cloud.google.com/composer/docs/composer-2/upgrade-environments#upgrade_your_environment)
 an environment, in correspondence. The current methods of doing it, at least 
in Cloud Composer, are manually via the UI (not scalable), via Airflow API 
using `dag_id_pattern` (not easily accessible, at least in CC), or one-by-one 
via the CLI - most straightforward to perform, but currently supports 
one-by-one (considering the extra overhead for accessing GKE  - it could take 
up to a minute for each DAG!).
   
   ### Related issues
   
   ### Possible Caveats
   #32360 - as `dag_id_pattern` might be changed in Airflow's API - the method 
for passing multiple DAG ids should be considered.
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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