def __init__(self, individual: Optional[str] = None, affiliation: Optional[str] = None): Localized.__init__(self) HasCitations.__init__(self) self._individual = individual self._affiliation = affiliation
def __init__(self, url: str): HasMediaType.__init__(self) Localized.__init__(self) Described.__init__(self) self.url = url self._label = None self._relationship = None
def __init__(self, name: str, locale: Optional[str] = None, date: Optional[Datey] = None): Localized.__init__(self) self._name = name self.locale = locale self.date = date
def __init__(self, person: Person, individual: Optional[str] = None, affiliation: Optional[str] = None): Entity.__init__(self) Localized.__init__(self) HasCitations.__init__(self) self._individual = individual self._affiliation = affiliation # Set the person association last, because the association requires comparisons, and self.__eq__() uses the # individual and affiliation names. self.person = person
def __init__(self, locale: str, name: str, title: str, content: str): Localized.__init__(self, locale) self._name = name self._title = title self._content = content