INNER CODE UNIT · Python

alternate_ids

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

    def alternate_ids(self) -> Set[str]:
        """`set` of `str`: A set of alternate IDs for this entity."""
        return self._data().alternate_ids

    @alternate_ids.setter  # type: ignore
    def alternate_ids(self, ids: Iterable[str]):
        self._data().alternate_ids = set(ids)

    @property
    def annotations(self) -> Set[PropertyValue]:
        """`set` of `PropertyValue`: Annotations relevant to the entity."""
        return self._data().annotations

    @annotations.setter
    def annotations(self, value: Iterable[PropertyValue]) -> None:
        self._data().annotations = set(value)

    @property

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…