Comments (7)
@AakashGfude I think that he was suggesting that you do it :-)
from nbclient.
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.
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.
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.
@MSeal That's great. Thanks a lot.
from nbclient.
Hi @MSeal . Let us know when you create the issue in nbformat
. Thanks.
from nbclient.
oops. sorry about that, I will create an issue in nbformat
from nbclient.
Related Issues (20)
- Using nbclient to talk to jupyter lab running remotely HOT 10
- Renamed default branch to main
- 0.6.1: sphinx faiils because missing file HOT 2
- Background Python process after running tests
- How to reuse exsisting kernel? HOT 4
- Test failure in ipywidgets 8 HOT 2
- nbclient 0.6.6 doesn't report cell magic error properly
- Cell caching HOT 6
- just_run does not close event loop it creates HOT 2
- Project dependencies may have API risk issues HOT 2
- 0.7.1: pytest is failing because missing ` jupyter_core.utils.ensure_async` HOT 11
- jupyter_core version constraint is invalid HOT 3
- nbclient >= 0.7.1 raises ImportError when trying to open a notebook HOT 1
- AttributeError: 'KernelManager' object has no attribute 'cleanup' HOT 5
- `NotebookClient.wait_for_reply` hangs with jupyter_client 8 or later HOT 4
- Is it possible to programmatically inspect variables of a NotebookNode? HOT 5
- output of type `stream` is split over multiple cells HOT 10
- execute_cell running error HOT 4
- ipykernel.comm.Comm is deprecated HOT 3
- Calling `jupyter-execute` runs the notebook but doesn't save it HOT 5
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 nbclient.