Skip to content

Commit

Permalink
feature: S3ToRedshiftOperator templating aws_conn_id (apache#37195)
Browse files Browse the repository at this point in the history
* feature: S3ToRedshiftOperator templating aws_conn_id

---------

Co-authored-by: raphaelauv <[email protected]>
  • Loading branch information
raphaelauv and raphaelauv authored Feb 6, 2024
1 parent 3e27b4f commit af30e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions airflow/providers/amazon/aws/transfers/s3_to_redshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class S3ToRedshiftOperator(BaseOperator):
"copy_options",
"redshift_conn_id",
"method",
"aws_conn_id",
)
template_ext: Sequence[str] = ()
ui_color = "#99e699"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ def test_template_fields_overrides(self):
"copy_options",
"redshift_conn_id",
"method",
"aws_conn_id",
)

def test_execute_unavailable_method(self):
Expand Down

0 comments on commit af30e1b

Please sign in to comment.