Skip to content

Commit

Permalink
Fix wrong template_fields_renderers for AWS operators (#16820)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Hlushchanka committed Jul 11, 2021
1 parent 49f1dfd commit d3f300f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/operators/ecs.py
Expand Up @@ -144,7 +144,7 @@ class ECSOperator(BaseOperator):

ui_color = '#f0ede4'
template_fields = ('overrides',)
template_fields_renderers = {"overrides": "py"}
template_fields_renderers = {"overrides": "json"}

def __init__(
self,
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/operators/sagemaker_base.py
Expand Up @@ -40,7 +40,7 @@ class SageMakerBaseOperator(BaseOperator):

template_fields = ['config']
template_ext = ()
template_fields_renderers = {"config": "py"}
template_fields_renderers = {"config": "json"}
ui_color = '#ededed'

integer_fields = [] # type: Iterable[Iterable[str]]
Expand Down

0 comments on commit d3f300f

Please sign in to comment.