election_day.models.election.relationship ========================================= .. py:module:: election_day.models.election.relationship Classes ------- .. autoapisummary:: election_day.models.election.relationship.ElectionRelationship Module Contents --------------- .. py:class:: ElectionRelationship Bases: :py:obj:`onegov.core.orm.Base` A relationship between elections. .. py:attribute:: __tablename__ :value: 'election_relationships' .. py:attribute:: id :type: sqlalchemy.Column[uuid.UUID] .. py:attribute:: source_id :type: sqlalchemy.Column[str] .. py:attribute:: target_id :type: sqlalchemy.Column[str] .. py:attribute:: source :type: sqlalchemy.orm.relationship[onegov.election_day.models.Election] .. py:attribute:: target :type: sqlalchemy.orm.relationship[onegov.election_day.models.Election] .. py:attribute:: type