What happens if I import a schema module without lamindb?

# !pip install 'lamindb[bionty]'
!lamin init --storage testschema --schema bionty
→ connected lamindb: testuser1/testschema

Upon import, nothing yet happens:

import bionty as bt

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
→ connected lamindb: testuser1/testschema
!lamin delete --force testschema
• deleting instance testuser1/testschema