bionty.core.Settings¶
- class bionty.core.Settings¶
Bases:
object
Settings.
Directly use
.settings
rather than instantiating this class yourself.Attributes
- auto_save_parents bool¶
Automatically save parents.
- organism Organism | None¶
Default organism argument (default
None
).Default record to use when
organism
argument is required inlamindb
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, public_source_id=CXWj, created_by_id=DzTjkKse) # noqa