Skip to content

Commit

Permalink
Add s3 key to template fields for s3/redshift transfer operators (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattshapiro authored Oct 3, 2020
1 parent 4210618 commit 6d573e8
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/transfers/redshift_to_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class RedshiftToS3Operator(BaseOperator):
:type table_as_file_name: bool
"""

template_fields = ()
template_fields = ('s3_key',)
template_ext = ()
ui_color = '#ededed'

Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/transfers/s3_to_redshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class S3ToRedshiftOperator(BaseOperator):
:type copy_options: list
"""

template_fields = ()
template_fields = ('s3_key',)
template_ext = ()
ui_color = '#ededed'

Expand Down

0 comments on commit 6d573e8

Please sign in to comment.