nbproject.dev.initialize_metadata#

nbproject.dev.initialize_metadata(nb=None, pypackage=None, parent=None)#

Initialize nbproject metadata.

Parameters:
  • nb – If a notebook is provided, also infer pypackages from the notebook.

  • pypackage – One or more python packages to track.

  • parent – One or more nbproject ids of direct ancestors in a notebook pipeline.

Return type:

MetaContainer