Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions airflow/contrib/operators/dataproc_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,8 +1031,6 @@ def execute(self, context):


class DataprocWorkflowTemplateBaseOperator(BaseOperator):
template_fields = ['template_id', 'template']

@apply_defaults
def __init__(self,
project_id,
Expand Down Expand Up @@ -1083,6 +1081,8 @@ class DataprocWorkflowTemplateInstantiateOperator(DataprocWorkflowTemplateBaseOp
:type delegate_to: string
"""

template_fields = ['template_id']

@apply_defaults
def __init__(self, template_id, *args, **kwargs):
(super(DataprocWorkflowTemplateInstantiateOperator, self)
Expand Down Expand Up @@ -1125,6 +1125,8 @@ class DataprocWorkflowTemplateInstantiateInlineOperator(
:type delegate_to: string
"""

template_fields = ['template']

@apply_defaults
def __init__(self, template, *args, **kwargs):
(super(DataprocWorkflowTemplateInstantiateInlineOperator, self)
Expand Down