{ } Raw JSON

bundles / nbformat 5.11.1 / nbformat / reader / get_version

function

nbformat.reader:get_version

source: /nbformat/reader.py:32

Signature

def get_version(nb)

Summary

Get the version of a notebook.

Parameters

nb : dict

NotebookNode or dict containing notebook data.

Returns

: Tuple containing major (int) and minor (int) version numbers

Aliases

  • nbformat.converter.get_version