bionty.DevelopmentalStage#

class bionty.DevelopmentalStage(name: str, ontology_id: Optional[str], abbr: Optional[str], synonyms: Optional[str], description: Optional[str], parents: List[DevelopmentalStage], public_source: Optional[PublicSource])#
class bionty.DevelopmentalStage(*db_args)

Bases: BioRegistry

Developmental stages - Human Developmental Stages, Mouse Developmental Stages. # noqa

Notes

For more info, see tutorial Manage biological registries

Bulk create DevelopmentalStage records via from_values.

Examples

>>> record = bionty.DevelopmentalStage.from_public(name="neurula stage")
>>> record.save()

Fields

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.

created_at DateTimeField

Time of creation of record.

updated_at DateTimeField

Time of last update to record.

created_by ForeignKey

Creator of record, a User.

parents ManyToManyField

Parent developmental stage records.

artifacts ManyToManyField

Artifacts linked to the developmental stage.

collections ManyToManyField

Collections linked to the developmental stage.

Methods