S3Path.write_bytes does not work
See original GitHub issuePython 3.8 s3path: 0.1.8
Calling write_bytes
on an S3Path
fails as the pathlib
write_bytes
method wraps the data in a memoryview
. S3Path’s _string_parser
then fails to detect and treat it as bytes / binary and therefore fails when calling encode
on the data.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to write a file or data to an S3 object using boto3
When I try s3.Object().put() I end up with an object with zero content-length . For me put() only accepts string data, but put(str(binarydata)) ......
Read more >s3 sync errors with "file does not exist" for file in exclude path
This seems to be similar to #1082 We run s3 sync using the following command: s3 sync --delete --exclude '*' --include ...
Read more >cloudpathlib.S3Path
A library that implements pathlib.Path methods for URIs for different cloud providers.
Read more >Insufficient permissions when using Athena with Amazon ...
Troubleshoot certain issues with insufficient permissions when using Amazon Athena with Amazon QuickSight.
Read more >Common Problems with Amazon S3 - Zapier Help
I want to add files to a folderIn Amazon S3, folders are designated by the key name. For example, if you upload a...
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 FreeTop 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
Top GitHub Comments
Tested and works. Thanks for being so responsive.
Oops, sorry about that Now looks good version: 0.1.91 deployed