Skip to content

Conversation

@deven367
Copy link
Contributor

@deven367 deven367 commented Jun 5, 2023

As of jupter-notebook version 6.5.4, two additional fields are required for a code cell, outputs and execution_count. I stumbled upon this error when I was trying to create a new_nb through nbdev-extensions.

Screenshot 2023-06-04 at 10 02 10 PM

Upon fixing the outputs key, it also expects an integer execution_count key

Technically, this issue should have been a PR in nbdev-extensions, but nbdev-extensions uses execnb internally to create a new nb, hence I created a PR here.

cc @jph00 @muellerzr

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jph00 jph00 merged commit d53e542 into AnswerDotAI:master Jun 7, 2023
@jph00
Copy link
Contributor

jph00 commented Jun 7, 2023

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants