Can we set public-read with rp_upload?

Using the boto module directly I can set the following when doing an s3 upload:
ExtraArgs={'ACL': 'public-read'}
ExtraArgs={'ACL': 'public-read'}
Is there a way I can apply that when using rp_upload? Below is an example of how I am using it:
image = rp_upload.upload_image(job_id, local_image_path)
image = rp_upload.upload_image(job_id, local_image_path)
This allows the uploaded bucket file to be accessible to the public for downloading.
1 Reply
Encyrption
EncyrptionOP3mo ago
I have noticed if I include the full URL, the extra attributes are allowing it be read... so not being public may not be the end of the world...
Want results from more Discord servers?
Add your server