INNER CODE UNIT · Python

creation_date

althonos/pronto · pronto/entity/__init__.py:237

    def creation_date(self) -> Optional[datetime.datetime]:
        """`~datetime.datetime` or `None`: The date the entity was created."""
        return self._data().creation_date

    @creation_date.setter  # type: ignore
    @typechecked(property=True)
    def creation_date(self, value: Optional[datetime.datetime]):
        self._data().creation_date = value

    @property
    def definition(self) -> Optional[Definition]:
        """`Definition` or `None`: The definition of the current entity.

        Definitions in OBO are intended to be human-readable text describing
        the entity, with some additional cross-references if possible.

        Example:
            >>> hp = pronto.Ontology.from_obo_library("hp.obo")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…