people.models.person
Classes
A person. |
Module Contents
- class people.models.person.Person[source]
Bases:
onegov.core.orm.Base,onegov.core.orm.mixins.StripWhitespaceMixin,onegov.core.orm.mixins.ContentMixin,onegov.core.orm.mixins.TimestampMixin,onegov.search.ORMSearchable,onegov.core.orm.mixins.UTCPublicationMixinA person.
- property spoken_title: str[source]
The Western-ordered name. Includes the academic title if available.
- vcard_object(exclude: collections.abc.Collection[str] | None = None, include_memberships: bool = True) vobject.base.Component[source]
Returns the person as vCard (3.0) object.
Allows to specify the included attributes, provides a reasonable default if none are specified. Always includes the first and last name.