Issue
I have a daily process using Papermill to generate a few Jupyter Notebook files that overwrite the files from previous day. Every time the newly generated files are marked as "untrusted". I can click the button to make them trusted, but annoying to do that everyday. Is there any way to automatically set those files to be "trusted" when generating the files with Papermill? Many thanks!
Solution
Try:
jupyter trust mynotebook.ipynb
As reference in official docs:
https://jupyter-notebook.readthedocs.io/en/latest/notebook.html?highlight=trust#signing-notebooks
Answered By - gogasca
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.