Last active
March 25, 2021 06:12
-
-
Save thanakijwanavit/22fae0c265b68b6d1f48737575d06243 to your computer and use it in GitHub Desktop.
save to s3 with public read and gzip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from s3bz.s3bz import S3, ExtraArgs | |
| S3.saveFile(key=key,path=path,bucket=bucket, | |
| ExtraArgs = {**ExtraArgs.jpeg, **ExtraArgs.publicRead }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment