GithubHelp home page GithubHelp logo

Comments (7)

choldgraf avatar choldgraf commented on July 26, 2024 1

@AakashGfude I think that he was suggesting that you do it :-)

from nbclient.

MSeal avatar MSeal commented on July 26, 2024

Sorry I missed the ping for this issue in my inbox.

Information related to execution defaults in the notebook document is definitely not standardized. Most ecosystems track this information outside of the notebook to pass into the execution engine. The current assumption is tools would place any metadata they wish to reuse in a namespaced subsection of the metadata section of the notebook. For execution information though this does get fractured as there's papermill, nbclient, (older nbconvert), and some other external extensions to execution models that would then be in different metadata sections. Getting all the interfaces, both offline and online systems, to adhere to a spec around these is going to be challenging. I'd be open to starting with something in a specific metadata field of the notebook and then trying to promote it into the spec. There's been more appetite for introducing such changes, but also a reluctance to move nbformat spec versions forward as it has caused some friction with downstream systems in recent bumps.

Thoughts on what fields / attributes you'd want to control at first?

from nbclient.

AakashGfude avatar AakashGfude commented on July 26, 2024

Hi @MSeal , thank you for your feedback on this.
I agree with the idea of not having the execution keyword inside an extension based namespaced subsection.
We were thinking of having a generic key like execution inside which we can have a timeout key

"execution": {
     "timeout":
}

and then we can have other execution related metadata as well inside this if the situation arises in the future?

from nbclient.

MSeal avatar MSeal commented on July 26, 2024

There is a cell['metadata']['execution'] placehold for storing execution information today in the 4.4 spec. Today it's housing what values were during execution rather than setting enforcement limits to adhere against.

I'd open an issue in nbformat with the proposed addition of timeout to that metadata field and we can get some other core developer voiced to weigh in on the subject.

from nbclient.

AakashGfude avatar AakashGfude commented on July 26, 2024

@MSeal That's great. Thanks a lot.

from nbclient.

AakashGfude avatar AakashGfude commented on July 26, 2024

Hi @MSeal . Let us know when you create the issue in nbformat. Thanks.

from nbclient.

AakashGfude avatar AakashGfude commented on July 26, 2024

oops. sorry about that, I will create an issue in nbformat

from nbclient.

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.