agency.models.move
Attributes
Classes
Base class for moving things. |
|
Represents a single move of a suborganization. |
|
Represents a single move of a membership with respect to a Agency. |
|
Represents a single move of a membership with respect to a Person. |
Module Contents
- class agency.models.move.SupportsById[source]
Bases:
Protocol
[_M_co
,_IdT_contra
]
- class agency.models.move.Move(session: sqlalchemy.orm.Session, subject_id: _IdT_contra, target_id: _IdT_contra, direction: onegov.core.orm.abstract.MoveDirection)[source]
Bases:
Generic
[_M
,_IdT_contra
]Base class for moving things.
- property collection: SupportsById[_M, _IdT_contra][source]
- Abstractmethod:
- class agency.models.move.AgencyMove(session: sqlalchemy.orm.Session, subject_id: _IdT_contra, target_id: _IdT_contra, direction: onegov.core.orm.abstract.MoveDirection)[source]
Bases:
Move
[onegov.agency.models.ExtendedAgency
,int
]Represents a single move of a suborganization.
- class agency.models.move.AgencyMembershipMoveWithinAgency(session: sqlalchemy.orm.Session, subject_id: _IdT_contra, target_id: _IdT_contra, direction: onegov.core.orm.abstract.MoveDirection)[source]
Bases:
Move
[onegov.people.AgencyMembership
,uuid.UUID
]Represents a single move of a membership with respect to a Agency.
- class agency.models.move.AgencyMembershipMoveWithinPerson(session: sqlalchemy.orm.Session, subject_id: _IdT_contra, target_id: _IdT_contra, direction: onegov.core.orm.abstract.MoveDirection)[source]
Bases:
Move
[onegov.people.AgencyMembership
,uuid.UUID
]Represents a single move of a membership with respect to a Person.