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 2736765956 add template field for s3 bucket (#30472)
2736765956 is described below
commit 2736765956cc22b343609c87380df350fc4ab7ed
Author: Mandy Gu <[email protected]>
AuthorDate: Wed Apr 5 04:48:43 2023 -0400
add template field for s3 bucket (#30472)
---
airflow/providers/amazon/aws/transfers/s3_to_sftp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/providers/amazon/aws/transfers/s3_to_sftp.py
b/airflow/providers/amazon/aws/transfers/s3_to_sftp.py
index 3038c17cb0..f251324778 100644
--- a/airflow/providers/amazon/aws/transfers/s3_to_sftp.py
+++ b/airflow/providers/amazon/aws/transfers/s3_to_sftp.py
@@ -53,7 +53,7 @@ class S3ToSFTPOperator(BaseOperator):
downloading the file from S3.
"""
- template_fields: Sequence[str] = ("s3_key", "sftp_path")
+ template_fields: Sequence[str] = ("s3_key", "sftp_path", "s3_bucket")
def __init__(
self,