election_day.models.election.relationship

Classes

ElectionRelationship

A relationship between elections.

Module Contents

class election_day.models.election.relationship.ElectionRelationship[source]

Bases: onegov.core.orm.Base

A relationship between elections.

__tablename__ = 'election_relationships'[source]
id: sqlalchemy.Column[uuid.UUID][source]
source_id: sqlalchemy.Column[str][source]
target_id: sqlalchemy.Column[str][source]
source: sqlalchemy.orm.relationship[onegov.election_day.models.Election][source]
target: sqlalchemy.orm.relationship[onegov.election_day.models.Election][source]
type[source]