org.models.page_move

Attributes

_L

Classes

AdjacencyListMove

Represents a single move of an adjacency list item.

PageMove

Represents a single move of an adjacency list item.

Module Contents

org.models.page_move._L[source]
class org.models.page_move.AdjacencyListMove(session: sqlalchemy.orm.Session, subject: _L, target: _L, direction: onegov.core.orm.abstract.MoveDirection)[source]

Bases: Generic[_L]

Represents a single move of an adjacency list item.

__collection__: type[AdjacencyListCollection[_L]][source]
session[source]
subject[source]
target[source]
direction[source]
property subject_id: int[source]
property target_id: int[source]
execute() None[source]
class org.models.page_move.PageMove(session: sqlalchemy.orm.Session, subject: _L, target: _L, direction: onegov.core.orm.abstract.MoveDirection)[source]

Bases: AdjacencyListMove[onegov.page.Page]

Represents a single move of an adjacency list item.

__collection__[source]