lamindb.finish¶
- lamindb.finish(ignore_non_consecutive=None)¶
Finish the run and write a run report.
writes a timestamp:
run.finished_atsaves the source code if it is not yet saved:
transform.source_codesaves a run report:
run.report
When called in the last cell of a notebook:
prompts to save the notebook in your editor right before
prompts for user input if not consecutively executed
- Parameters:
ignore_non_consecutive (
None|bool, default:None) – Whether to ignore if a notebook was non-consecutively executed.- Return type:
None
Examples
>>> import lamindb as ln >>> ln.track() >>> # do things while tracking data lineage >>> ln.finish()
See also
lamin save script.pyorlamin save notebook.ipynb→ docs