compute_notebook_file¶
-
nbreport.compute.
compute_notebook_file
(path, as_version=None, **compute_args)¶ Compute an ipynb notebook file and save it in place.
Parameters: - path :
pathlib.Path
orstr
Path of the notebook (ipynb) file. The computed notebook is saved in-place at this path as well.
- as_version : int, optional
Notebook version to coerce the file into.
None
meansnbformat.NO_CONVERT
. See thenbformat.read
documentation.- **compute_args
Keyword arguments passed to
compute_notebook
.
- path :