bionty.core.Settings

class bionty.core.Settings

Bases: object

Settings.

Directly use .settings rather than instantiating this class yourself.

Attributes

property organism: Organism | None

Default organism argument (default None).

Default record to use when organism argument is required in lamindb functionality.

Only takes effect if explicitly set!

Examples

>>> bionty.settings.organism = "mouse"
✅ set organism: Organism(id=vado, name=mouse, taxon_id=10090, scientific_name=mus_musculus, updated_at=2023-07-21 11:37:08, source_id=CXWj, created_by_id=DzTjkKse) # noqa

Methods