@@ -66,7 +66,7 @@ class DataformCreateCompilationResultOperator(GoogleCloudBaseOperator):
66
66
account from the list granting this role to the originating account (templated).
67
67
"""
68
68
69
- template_fields = ("repository_id" , "impersonation_chain" )
69
+ template_fields = ("project_id" , "region" , " repository_id" , "compilation_result " , "impersonation_chain" )
70
70
71
71
def __init__ (
72
72
self ,
@@ -132,7 +132,13 @@ class DataformGetCompilationResultOperator(GoogleCloudBaseOperator):
132
132
account from the list granting this role to the originating account (templated).
133
133
"""
134
134
135
- template_fields = ("repository_id" , "compilation_result_id" , "impersonation_chain" )
135
+ template_fields = (
136
+ "project_id" ,
137
+ "region" ,
138
+ "repository_id" ,
139
+ "compilation_result_id" ,
140
+ "impersonation_chain" ,
141
+ )
136
142
137
143
def __init__ (
138
144
self ,
@@ -202,7 +208,7 @@ class DataformCreateWorkflowInvocationOperator(GoogleCloudBaseOperator):
202
208
:param wait_time: Number of seconds between checks
203
209
"""
204
210
205
- template_fields = ("workflow_invocation" , "impersonation_chain" )
211
+ template_fields = ("project_id" , "region" , "repository_id" , " workflow_invocation" , "impersonation_chain" )
206
212
operator_extra_links = (DataformWorkflowInvocationLink (),)
207
213
208
214
def __init__ (
@@ -291,7 +297,13 @@ class DataformGetWorkflowInvocationOperator(GoogleCloudBaseOperator):
291
297
account from the list granting this role to the originating account (templated).
292
298
"""
293
299
294
- template_fields = ("repository_id" , "workflow_invocation_id" , "impersonation_chain" )
300
+ template_fields = (
301
+ "project_id" ,
302
+ "region" ,
303
+ "repository_id" ,
304
+ "workflow_invocation_id" ,
305
+ "impersonation_chain" ,
306
+ )
295
307
operator_extra_links = (DataformWorkflowInvocationLink (),)
296
308
297
309
def __init__ (
@@ -358,7 +370,13 @@ class DataformCancelWorkflowInvocationOperator(GoogleCloudBaseOperator):
358
370
account from the list granting this role to the originating account (templated).
359
371
"""
360
372
361
- template_fields = ("repository_id" , "workflow_invocation_id" , "impersonation_chain" )
373
+ template_fields = (
374
+ "project_id" ,
375
+ "region" ,
376
+ "repository_id" ,
377
+ "workflow_invocation_id" ,
378
+ "impersonation_chain" ,
379
+ )
362
380
operator_extra_links = (DataformWorkflowInvocationLink (),)
363
381
364
382
def __init__ (
@@ -426,6 +444,7 @@ class DataformCreateRepositoryOperator(GoogleCloudBaseOperator):
426
444
operator_extra_links = (DataformRepositoryLink (),)
427
445
template_fields = (
428
446
"project_id" ,
447
+ "region" ,
429
448
"repository_id" ,
430
449
"impersonation_chain" ,
431
450
)
@@ -505,6 +524,7 @@ class DataformDeleteRepositoryOperator(GoogleCloudBaseOperator):
505
524
506
525
template_fields = (
507
526
"project_id" ,
527
+ "region" ,
508
528
"repository_id" ,
509
529
"impersonation_chain" ,
510
530
)
@@ -579,7 +599,9 @@ class DataformCreateWorkspaceOperator(GoogleCloudBaseOperator):
579
599
operator_extra_links = (DataformWorkspaceLink (),)
580
600
template_fields = (
581
601
"project_id" ,
602
+ "region" ,
582
603
"repository_id" ,
604
+ "workspace_id" ,
583
605
"impersonation_chain" ,
584
606
)
585
607
@@ -663,6 +685,7 @@ class DataformDeleteWorkspaceOperator(GoogleCloudBaseOperator):
663
685
664
686
template_fields = (
665
687
"project_id" ,
688
+ "region" ,
666
689
"repository_id" ,
667
690
"workspace_id" ,
668
691
"impersonation_chain" ,
@@ -739,6 +762,7 @@ class DataformWriteFileOperator(GoogleCloudBaseOperator):
739
762
740
763
template_fields = (
741
764
"project_id" ,
765
+ "region" ,
742
766
"repository_id" ,
743
767
"workspace_id" ,
744
768
"impersonation_chain" ,
@@ -820,6 +844,7 @@ class DataformMakeDirectoryOperator(GoogleCloudBaseOperator):
820
844
821
845
template_fields = (
822
846
"project_id" ,
847
+ "region" ,
823
848
"repository_id" ,
824
849
"workspace_id" ,
825
850
"impersonation_chain" ,
@@ -900,6 +925,7 @@ class DataformRemoveFileOperator(GoogleCloudBaseOperator):
900
925
901
926
template_fields = (
902
927
"project_id" ,
928
+ "region" ,
903
929
"repository_id" ,
904
930
"workspace_id" ,
905
931
"impersonation_chain" ,
@@ -978,6 +1004,7 @@ class DataformRemoveDirectoryOperator(GoogleCloudBaseOperator):
978
1004
979
1005
template_fields = (
980
1006
"project_id" ,
1007
+ "region" ,
981
1008
"repository_id" ,
982
1009
"workspace_id" ,
983
1010
"impersonation_chain" ,
@@ -1056,6 +1083,7 @@ class DataformInstallNpmPackagesOperator(GoogleCloudBaseOperator):
1056
1083
1057
1084
template_fields = (
1058
1085
"project_id" ,
1086
+ "region" ,
1059
1087
"repository_id" ,
1060
1088
"workspace_id" ,
1061
1089
"impersonation_chain" ,
0 commit comments