lamindb.core.subsettings

Sub settings.

class lamindb.core.subsettings.CreationSettings
artifact_silence_missing_run_warning: bool = False

Silence warning about missing run & transform during artifact creation (default False).

artifact_skip_size_hash: bool = False

To speed up registering high numbers of files (default False).

This bypasses queries for size and hash to AWS & GCP.

It speeds up file creation by about a factor 100.

search_names: bool = True

Switch off to speed up creating records (default True).

If True, search for alternative names and avoids duplicates.

FAQ: Will data get duplicated upon re-running code?

class lamindb.core.subsettings.AnnotationSettings
n_max_records: int = 1000

Maximal number of records to annotate with during automated annotation.

If the number of records to annotate exceeds this limit, print a warning and do not annotate.

The number is calculated per feature for labels, and per schema for features.