lamindb.Param

class lamindb.Param

Bases: Registry, CanValidate, TracksRun, TracksUpdates

Parameters of runs & models akin to Feature for datasets.

Fields

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

run: Run

Last run that created or updated the record.

name: str

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

dtype: str

Data type (“number”, “cat”, “int”, “float”, “bool”, “datetime”).

For categorical types, can define from which registry values are sampled, e.g., cat[ULabel] or cat[bionty.CellType].

previous_runs: Run

Sequence of runs that created or updated the record.

created_at: datetime

Time of creation of record.

created_by: User

Creator of record.

updated_at: datetime

Time of last update to record.

Methods