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/11/23 17:23:07 UTC

[GitHub] [airflow] megan-parker commented on a change in pull request #19758: Api add support bulk pause resume

megan-parker commented on a change in pull request #19758:
URL: https://github.com/apache/airflow/pull/19758#discussion_r755355341



##########
File path: airflow/api_connexion/endpoints/dag_endpoint.py
##########
@@ -86,10 +86,13 @@ def get_dags(limit, session, offset=0, only_active=True, tags=None, dag_id_patte
 
 @security.requires_access([(permissions.ACTION_CAN_EDIT, permissions.RESOURCE_DAG)])
 @provide_session
-def patch_dag(session, dag_id, update_mask=None):
+def patch_dag(session, dag_id, update_mask=None, multi=False):

Review comment:
       Thanks for the suggestion, I agree that `patch_dags` should follow the same pattern as `get_dags`.




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