bionty.DevelopmentalStage¶
- class bionty.DevelopmentalStage(name: str, ontology_id: str | None, abbr: str | None, synonyms: str | None, description: str | None, parents: list[DevelopmentalStage], public_source: PublicSource | None)¶
Bases:
BioRegistry
,TracksRun
,TracksUpdates
Developmental stages - Human Developmental Stages, Mouse Developmental Stages. # noqa.
Notes
For more info, see tutorials Manage biological registries and DevelopmentalStage.
Bulk create DevelopmentalStage records via
from_values
.Examples
>>> record = bionty.DevelopmentalStage.from_public(name="neurula stage") >>> record.save()
Fields
- created_at DateTimeField
Time of creation of record.
- created_by ForeignKey
Creator of record, a
User
.
- run ForeignKey
Last run that created or updated the record, a
Run
.
- updated_at DateTimeField
Time of last update to record.
- id AutoField
Internal id, valid only in one DB instance.
- uid CharField
A universal id (hash of selected field).
- name CharField
Name of the developmental stage.
- ontology_id CharField
Ontology ID of the developmental stage.
- abbr CharField
A unique abbreviation of developmental stage.
- synonyms TextField
Bar-separated (|) synonyms that correspond to this developmental stage.
- description TextField
Description of the developmental stage.
- public_source ForeignKey
PublicSource
this developmental stage associates with.
- previous_runs ManyToManyField
Sequence of runs that created or updated the record.
- parents ManyToManyField
Parent developmental stage records.
- artifacts ManyToManyField
Artifacts linked to the developmental stage.
Methods