Papermill: Why does the output of "execute_notebook" return a "nbformat" notebook instead of a `papermill.api.Notebook`?

Created on 28 Sep 2018  路  3Comments  路  Source: nteract/papermill

I noticed that the output of execute_notebook returns a "regular" nbformat-style notebook, while read_notebook returns a nifty papermill notebook object. Is there a particular reason for this discrepancy? Could be nice to have papermill notebook objects as an output to execute_notebook in case people are executing them interactively

question

All 3 comments

https://github.com/nteract/papermill/pull/204 is working on unifying abstractions. We've had asks for nbformat-style notebooks as the internal store for papermill but that PR is where we should make the final decision about internal storage for version 1.0. I would welcome feedback / ideation there or in the associated issue https://github.com/nteract/papermill/issues/177. It might make sense to use the smarter object as our wrapping store.

sounds good - shall I close this issue in lieu of the others? (or feel free to do so yourself)

To follow -up the decision that was made was to keep with nbformat and move the Notebook object into https://github.com/nteract/scrapbook as the place for the more informated notebook model.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

casperdcl picture casperdcl  路  7Comments

MSeal picture MSeal  路  7Comments

MSeal picture MSeal  路  3Comments

eapetitfils picture eapetitfils  路  7Comments

argenisleon picture argenisleon  路  3Comments