Test load through schema module¶
Also see the corresponding FAQ notebook in lamindb: import-modules
.
You’ll load the instance in the same way as calling import lamindb
when you import a schema module.
!lamin init --storage test-implicit-load --modules wetlab,bionty
import lamindb_setup
assert not lamindb_setup.core.django.IS_SETUP
import wetlab as lb
assert lamindb_setup.core.django.IS_SETUP
lb.Experiment
assert lamindb_setup.core.django.IS_SETUP
!lamin delete --force test-implicit-load