This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 08fa814533 Add missing template fields to
DataformCreateCompilationResultOperator (#33585)
08fa814533 is described below
commit 08fa81453377003aafbdd19563d846fa71155e0d
Author: Brent Hagany <[email protected]>
AuthorDate: Mon Aug 21 16:09:59 2023 -0500
Add missing template fields to DataformCreateCompilationResultOperator
(#33585)
All other operators template these fields, and `impersonation_chain` is
explicity said to be templated in the operator's docstring
---
airflow/providers/google/cloud/operators/dataform.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/airflow/providers/google/cloud/operators/dataform.py
b/airflow/providers/google/cloud/operators/dataform.py
index 005103e441..aeb6e05c0f 100644
--- a/airflow/providers/google/cloud/operators/dataform.py
+++ b/airflow/providers/google/cloud/operators/dataform.py
@@ -65,6 +65,8 @@ class
DataformCreateCompilationResultOperator(GoogleCloudBaseOperator):
account from the list granting this role to the originating account
(templated).
"""
+ template_fields = ("repository_id", "impersonation_chain")
+
def __init__(
self,
project_id: str,