nbproject.dev.initialize_metadata#
- nbproject.dev.initialize_metadata(nb=None, pypackage=None, parent=None)#
Initialize nbproject metadata.
- Parameters:
nb (
Optional
[Notebook
], default:None
) – If a notebook is provided, also infer pypackages from the notebook.pypackage (
Union
[str
,List
[str
],None
], default:None
) – One or more python packages to track.parent (
Union
[str
,List
[str
],None
], default:None
) – One or more nbproject ids of direct ancestors in a notebook pipeline.
- Return type: