vincbeck commented on code in PR #22758:
URL: https://github.com/apache/airflow/pull/22758#discussion_r844062731
##########
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:
There is one DAG example in this PR. Please take a look at `example_s3.py`.
I personally do not really like `LocalFilesystemToS3Operator` because it
requires having a local file. If we take the same example I stated, it means I
would need to create a local file after I fetched the data from the API and
before I store it in S3. I would also need to remove that file afterwards
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]