people.models.membership
Classes
| A membership to an agency. | 
Module Contents
- class people.models.membership.AgencyMembership[source]
- Bases: - onegov.core.orm.Base,- onegov.core.orm.mixins.ContentMixin,- onegov.core.orm.mixins.TimestampMixin,- onegov.search.ORMSearchable,- onegov.core.orm.mixins.UTCPublicationMixin- A membership to an agency. - fts_public = True[source]
- Returns True if the model is available to be found by the public. If false, only editors/admins will see this object in the search results. 
 - agency: sqlalchemy.orm.relationship[people.models.agency.Agency][source]
 - person: sqlalchemy.orm.relationship[people.models.person.Person][source]
 - property siblings_by_agency: sqlalchemy.orm.Query[Self][source]
- Returns a query that includes all siblings by agency, including the item itself ordered by order_within_agency.