vincbeck commented on code in PR #22758:
URL: https://github.com/apache/airflow/pull/22758#discussion_r845521556
##########
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:
That's a good point. What I can propose is to add a parameter to retrieve
data from Xcom. Here is an example of operator using that technique:
https://github.com/apache/airflow/blob/main/airflow/providers/amazon/aws/transfers/google_api_to_s3.py#L57
What do you think?
--
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]