This is an automated email from the ASF dual-hosted git repository.
eladkal 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 03fcbcc96e Use set for `template_fields` of
`EcsDeregisterTaskDefinitionOperator` (#33129)
03fcbcc96e is described below
commit 03fcbcc96efb3f34c2d4e219dbaccb7771197670
Author: eladkal <[email protected]>
AuthorDate: Sat Aug 5 02:28:49 2023 +0300
Use set for `template_fields` of `EcsDeregisterTaskDefinitionOperator`
(#33129)
---
airflow/providers/amazon/aws/operators/ecs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/providers/amazon/aws/operators/ecs.py
b/airflow/providers/amazon/aws/operators/ecs.py
index 6df72c6264..9025e85f52 100644
--- a/airflow/providers/amazon/aws/operators/ecs.py
+++ b/airflow/providers/amazon/aws/operators/ecs.py
@@ -259,7 +259,7 @@ class EcsDeregisterTaskDefinitionOperator(EcsBaseOperator):
of the task definition to deregister. If you use a family name, you
must specify a revision.
"""
- template_fields: Sequence[str] = "task_definition"
+ template_fields: Sequence[str] = ("task_definition",)
def __init__(
self,