fastbook
fastbook copied to clipboard
Regenerate `clean/` folder + Fix notebook validation errors caused by extra fields
Regenerating before making change to one of the notebooks.
Surprisingly (or because of my lack of knowledge of how to use nbdev/execnb libs) current read_nb() function adds these unexpected keys to notebook JSON:
idx_to all the cellspath_to the root
These result in errors of the following type when notebook is opened:
Notebook validation failed: Additional properties are not allowed ('idx_' was unexpected):
To address this issue, the proc_nb() function has been modified to forcefully delete these keys. Future improvements could involve implementing a cleaner solution, such as refining the clean_nb() function in the nbdev library.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB