You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/18 20:53:56 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #15926: Add `template_fields` to `S3ToSnowflake` operator

turbaszek commented on a change in pull request #15926:
URL: https://github.com/apache/airflow/pull/15926#discussion_r634740453



##########
File path: airflow/providers/snowflake/transfers/s3_to_snowflake.py
##########
@@ -71,6 +71,8 @@ class S3ToSnowflakeOperator(BaseOperator):
     :type session_parameters: dict
     """
 
+    template_fields = ("s3_keys",)

Review comment:
       ```suggestion
       template_fields = ("s3_keys",)
       template_fields_renderers = {"s3_keys": "json"}
   ```
   In this way the list will be rendered in more user friendly way. Related https://github.com/apache/airflow/issues/11177




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org