gazette.models.organization
Classes
Defines an organization for official notices. |
|
Represents a single move of an adjacency list item. |
Module Contents
- class gazette.models.organization.Organization(title: str, parent: Self | None = None, **kwargs: Any)[source]
Bases:
onegov.core.orm.abstract.AdjacencyList
,onegov.core.orm.mixins.ContentMixin
,onegov.core.orm.mixins.TimestampMixin
Defines an organization for official notices.
Although the categories are defined as a flexible adjacency list, we currently use it only as a two-stage adjacency list key-value list (name-title).
- parent: sqlalchemy.orm.relationship[Organization | None][source]
- notices() Query[GazetteNotice] [source]
Returns a query to get all notices related to this category.