Coder Social home page Coder Social logo

Comments (7)

jthomas avatar jthomas commented on July 18, 2024

Thanks for finding this @sciabarra. Will have a look...

from nimbella-sdk-python.

sciabarracom avatar sciabarracom commented on July 18, 2024

Check PR#12 for a fix

from nimbella-sdk-python.

jthomas avatar jthomas commented on July 18, 2024

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.

rabbah avatar rabbah commented on July 18, 2024

Thanks James - I too am hoping we can fix this issue more directly rather than through the env var. 👍

from nimbella-sdk-python.

sciabarra avatar sciabarra commented on July 18, 2024

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.

jthomas avatar jthomas commented on July 18, 2024

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.

sciabarra avatar sciabarra commented on July 18, 2024

I need to rebuild EKS with your PR to test - will do

from nimbella-sdk-python.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.