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 2022/04/06 14:38:04 UTC

[GitHub] [airflow] vincbeck commented on a diff in pull request #22758: Add S3CreateObjectOperator

vincbeck commented on code in PR #22758:
URL: https://github.com/apache/airflow/pull/22758#discussion_r844031450


##########
airflow/providers/amazon/aws/operators/s3.py:
##########
@@ -318,6 +318,94 @@ def execute(self, context: 'Context'):
         )
 
 
+class S3CreateObjectOperator(BaseOperator):
+    """
+    Creates a new object from a given string or bytes.

Review Comment:
   I updated the comment.
   
   Well the common use case would be I want to upload a file to S3 (JSON, CSV, ...) and specify its content. Example:
   - I pull some data from an API (e.g.) and I want to store the result into S3



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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