lamindb.finish

lamindb.finish(ignore_non_consecutive=None)

Finish the run of a notebook or script.

  • writes a timestamp: run.finished_at

  • saves the source code if it is not yet saved: transform.source_code

  • saves a run report: run.report

When called in a notebook, will prompt to save the notebook in your editor.

Parameters:

ignore_non_consecutive (None | bool, default: None) – Whether to ignore if a notebook was non-consecutively executed.

Return type:

None

Examples

See Track notebooks, scripts & functions.

See also

lamin save script.py or lamin save notebook.ipynbdocs