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 af30e1b619 feature: S3ToRedshiftOperator templating aws_conn_id
(#37195)
af30e1b619 is described below
commit af30e1b619701cc093ce6170246eddb53bc6dd51
Author: raphaelauv <[email protected]>
AuthorDate: Tue Feb 6 13:25:12 2024 +0100
feature: S3ToRedshiftOperator templating aws_conn_id (#37195)
* feature: S3ToRedshiftOperator templating aws_conn_id
---------
Co-authored-by: raphaelauv <[email protected]>
---
airflow/providers/amazon/aws/transfers/s3_to_redshift.py | 1 +
tests/providers/amazon/aws/transfers/test_s3_to_redshift.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/airflow/providers/amazon/aws/transfers/s3_to_redshift.py
b/airflow/providers/amazon/aws/transfers/s3_to_redshift.py
index ada12c214b..1141d6e69d 100644
--- a/airflow/providers/amazon/aws/transfers/s3_to_redshift.py
+++ b/airflow/providers/amazon/aws/transfers/s3_to_redshift.py
@@ -77,6 +77,7 @@ class S3ToRedshiftOperator(BaseOperator):
"copy_options",
"redshift_conn_id",
"method",
+ "aws_conn_id",
)
template_ext: Sequence[str] = ()
ui_color = "#99e699"
diff --git a/tests/providers/amazon/aws/transfers/test_s3_to_redshift.py
b/tests/providers/amazon/aws/transfers/test_s3_to_redshift.py
index dff441f0a6..6e3cbb2a1c 100644
--- a/tests/providers/amazon/aws/transfers/test_s3_to_redshift.py
+++ b/tests/providers/amazon/aws/transfers/test_s3_to_redshift.py
@@ -391,6 +391,7 @@ class TestS3ToRedshiftTransfer:
"copy_options",
"redshift_conn_id",
"method",
+ "aws_conn_id",
)
def test_execute_unavailable_method(self):