bundles / nbformat 5.11.1 / nbformat / v4 / convert / upgrade
function
nbformat.v4.convert:upgrade
source: /nbformat/v4/convert.py:29
Signature
def upgrade(nb, from_version = None, from_minor = None)Summary
Convert a notebook to latest v4.
Parameters
nb: NotebookNodeThe Python representation of the notebook to convert.
from_version: intThe original version of the notebook to convert.
from_minor: intThe original minor version of the notebook to convert (only relevant for v >= 3).
Aliases
nbformat.v4.upgrade