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’ll 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
❗ manually delete your stored data: /home/runner/work/lamindb/lamindb/docs/faq/testschema