Skip to content

Commit

Permalink
Allow templates in more DataprocUpdateClusterOperator fields (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Harabień authored Mar 1, 2022
1 parent 3218cca commit 6ca118d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion airflow/providers/google/cloud/operators/dataproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down

0 comments on commit 6ca118d

Please sign in to comment.