Pass kwargs to create_multipart_upload
See original GitHub issueHi 👋
We have some kwargs going into create_multipart_upload
(using smart_open
under the hood, tested with real s3):
kwargs = {'ACL': 'authenticated-read', 'StorageClass': 'STANDARD_IA', 'Metadata': {'summary': 'summary', 'name': 'mypkg', 'version': '1.1'}}
s3.create_multipart_upload(Bucket=..., Key=..., **kwargs)
Can this currently be mocked? It looks like the mocked method does not take any CamelCase arguments 🤔
Currently, these kwargs seem to be ignored, as they go missing in a round trip.
Issue Analytics
- State:
- Created a year ago
- Comments:9
Top Results From Across the Web
AccessDenied when calling the CreateMultipartUpload ...
I want to use django-storages to store my model files in Amazon S3 but I get Access Denied error. I have granted the...
Read more >CreateMultipartUpload - Amazon Simple Storage Service
This action initiates a multipart upload and returns an upload ID. This upload ID is used to associate all of the parts in...
Read more >S3 — Boto3 Docs 1.26.34 documentation - AWS
Closes underlying endpoint connections. complete_multipart_upload (**kwargs)¶. Completes a multipart upload by assembling previously uploaded parts. You ...
Read more >s3fs and server side encryption · Issue #15 - GitHub
Since awswrangler uses s3fs under the hood, I have been trying to figure out if there is a way to pass the KMS...
Read more >Dell EMC PowerScale: OneFS S3 API Guide
This API Initiates a multipart upload and returns an upload ID. Table 14 shows the details about the OneFS. S3 CreateMultipartUpload API request...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yup, test was passing an empty
BytesIO()
tosmart_open
. Adding some bytes solved StorageClass showing up 👍Many thanks! Looking into StorageClass going missing, most likely not on your side.