Skip to content

✨ Add Entity model to enable ULabel-like experience for biological entities #348

@sunnyosun

Description

@sunnyosun

The main difference from ULabel is that Entity is coupled to Source. ULabel can not be coupled to Source as it will require moving the Source registry into lamindb.

For example, if a user wants to create a new registry called Vaccine and couple to https://obofoundry.org/ontology/vo.html.

Vaccine = bt.Entity(name="Vaccine", is_type=True).save()
source = bt.Source(name="vo", version="...", ...).save()
Vaccine.add_source(source)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions