-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for buckets in different regions #18
Comments
+1 |
does this fixed or not? |
same issue here. this should be top prio. |
Tell me how you are trying to connect to it, I used |
bucket = simples3.S3Bucket(name="mybucket", base_url="http://eu-west.whatever.com/") I forget exactly how the incantation looks. I'm all for adding a |
@lericson yes, I had to provide the full url (not just the base) into base_url for it to work. but it does not look so natural. but this looks pretty: bucket = S3Bucket(name='mybucket', region='us-west1') |
Alright, that sounds awesome. Could you perhaps post some example of how to use a different region, so it can be included in the documentation until we get a better API? |
I found a solution:
|
Good stuff, would do well to make a more obvious API though.
|
When trying to use
simples3
to connect to a bucket hosted ineu-west-1
, I get the following error:The text was updated successfully, but these errors were encountered: