Skip to content

Commit

Permalink
Add template_fields to S3ToSnowflake operator (#15926)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlecoy committed May 19, 2021
1 parent 6f8c204 commit 20f3639
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airflow/providers/snowflake/transfers/s3_to_snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ class S3ToSnowflakeOperator(BaseOperator):
:type session_parameters: dict
"""

template_fields = ("s3_keys",)
template_fields_renderers = {"s3_keys": "json"}

def __init__(
self,
*,
Expand Down

0 comments on commit 20f3639

Please sign in to comment.