Comments (7)
Thanks for finding this @sciabarra. Will have a look...
from nimbella-sdk-python.
Check PR#12 for a fix
from nimbella-sdk-python.
Having a look at this again.... I appreciate the fix in #12 but before merging I want to replicate the issue preventing the more obvious fix ("pass region") and see if I can fix it. Otherwise - we'll go with what you have... Won't spend too much time on it.
from nimbella-sdk-python.
Thanks James - I too am hoping we can fix this issue more directly rather than through the env var. 👍
from nimbella-sdk-python.
The issue can be easily replicated deploying in a region non us-east as looks like buckets in that regions are special and does not require the region parameters.
The issue can be fixed without the env vars changing the api and passing the region to the Session object. However honestly I tried and it did not work...
from nimbella-sdk-python.
I think I've managed to fix this at the source - see #13
@sciabarra does this work for you? I've tried with the credentials you gave me and had no issues.
Here's the test file I used locally
import nimbella
bucket = nimbella.storage()
filename = "test.txt"
file = bucket.file(filename)
file.save('Expected %s contents' % filename, 'text/plain')
with the __OW_NAMESPACE, __OW_API_HOST and __NIM_STORAGE_KEY env variables set to the parameters you gave me.
from nimbella-sdk-python.
I need to rebuild EKS with your PR to test - will do
from nimbella-sdk-python.
Related Issues (8)
- Support pluggable storage providers HOT 10
- Errors in AWS when generating signed urls HOT 2
- Support endpoint_url in S3 client constructor HOT 1
- Create documentation for the Python SDK HOT 1
- SDK Website methods for setting website don't seem to work.
- Add system testing for this SDK
- alias .redis to .kv
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimbella-sdk-python.