What happens if I import a schema module without lamindb?露
!lamin init --storage testschema --schema bionty
馃挕 connected lamindb: testuser1/testschema
Upon import
, nothing yet happens:
import bionty as bt
馃挕 connected lamindb: testuser1/testschema
If you try to access an attribute (other than model
), you鈥檒l load the instance in the same way as calling import lamindb
.
Under the hood, lamindb
is imported!
assert bt.Organism(name="human") is not None
!lamin delete --force testschema
馃挕 deleting instance testuser1/testschema