Code Monkey home page Code Monkey logo

Comments (3)

MSeal avatar MSeal commented on June 16, 2024 1

Ahh yes overwriting the URL requires you register a diffrrent handler for S3 schemas. While scrapbook is still using papermill io for resolving these uris you can use https://papermill.readthedocs.io/en/latest/extending-overview.html to extend an overwrite for S3 paths to set or pass the options you wish to set for your setup.

from scrapbook.

MSeal avatar MSeal commented on June 16, 2024

We use boto3 under the hood as well. It's using boto3.session.Session from papermill's iorw.s3.py so it should behave identically. The error listed suggests it found a key but it was invalid. Did you have a temporary key that expired?

from scrapbook.

victorluizgomes avatar victorluizgomes commented on June 16, 2024

Ok, no the key is still valid.

I can access my bucket with the key from the command line using aws s3 ls, but my worry is that when I am accessing my bucket I use the option --endpoint-url to be able to access it, which is located in a non-AWS S3 compatible object store.

I can also access my bucket when using boto3 by overwriting the endpoint url on the boto3.client myself, with:

s3 = boto3.client('s3', endpoint_url='https://my-url.com/')

But I am not able to access the boto3.client when calling sb.read_notebooks() since it uses boto3 under the hood.

Maybe I am thinking of this the wrong way? or is there anyway I can access Papermill and change the default endpoint-url to not go to AWS before calling sb.read_notebooks()?

Thank you.

from scrapbook.

Related Issues (20)

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.