From 6ca118dff1ede2b1541c43c3738e547b43818f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Tue, 1 Mar 2022 08:24:44 +0100 Subject: [PATCH] Allow templates in more DataprocUpdateClusterOperator fields (#21865) --- airflow/providers/google/cloud/operators/dataproc.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/airflow/providers/google/cloud/operators/dataproc.py b/airflow/providers/google/cloud/operators/dataproc.py index a3de8492f0d7a..84fa311bf23d6 100644 --- a/airflow/providers/google/cloud/operators/dataproc.py +++ b/airflow/providers/google/cloud/operators/dataproc.py @@ -1913,7 +1913,14 @@ class DataprocUpdateClusterOperator(BaseOperator): account from the list granting this role to the originating account (templated). """ - template_fields: Sequence[str] = ('impersonation_chain', 'cluster_name') + template_fields: Sequence[str] = ( + 'cluster_name', + 'cluster', + 'region', + 'request_id', + 'project_id', + 'impersonation_chain', + ) operator_extra_links = (DataprocLink(),) def __init__(