bundles / nbformat 5.11.1 / nbformat / v3 / convert / upgrade
function
nbformat.v3.convert:upgrade
source: /nbformat/v3/convert.py:27
Signature
def upgrade(nb, from_version = 2, from_minor = 0)Summary
Convert a notebook to v3.
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.v3.upgrade