laminlabs / lamindb

A data framework for biology.
https://docs.lamin.ai
Apache License 2.0
116 stars 9 forks source link

Opaque bug in `ln.db.query.dobject().all()` #219

Closed falexwolf closed 1 year ago

falexwolf commented 1 year ago

Everything works fine when I use sqlmodel, but lamindb yields an error that seems to stem from trying to relate the dobject table to the usage table.

image

I don't really understand why it might even try so. 🤔

Thank you for your help, @sunnyosun! ❤️

falexwolf commented 1 year ago

Could you try to run this notebook yourself to reproduce it, @sunnyosun? https://github.com/laminlabs/lamin-site-assets/blob/main/docs/status.ipynb

falexwolf commented 1 year ago

Fixed with this patch: