landsgemeinde.models.suggestion

Classes

Suggestion

Provide suggestions based on entries in the directory of persons and

PersonNameSuggestion

Provide suggestions based on entries in the directory of persons and

PersonFunctionSuggestion

Provide suggestions based on entries in the directory of persons and

PersonPlaceSuggestion

Provide suggestions based on entries in the directory of persons and

PersonPoliticalAffiliationSuggestion

Provide suggestions based on entries in the directory of persons and

Module Contents

class landsgemeinde.models.suggestion.Suggestion(session: sqlalchemy.orm.Session, term: str | None = '')[source]

Provide suggestions based on entries in the directory of persons and past vota.

property votum_expression: ColumnElement[str] | ColumnElement[str | None][source]
Abstractmethod:

property person_expressions: tuple[ColumnElement[str] | ColumnElement[str | None], Ellipsis][source]
Abstractmethod:

query() list[str][source]
class landsgemeinde.models.suggestion.PersonNameSuggestion(session: sqlalchemy.orm.Session, term: str | None = '')[source]

Bases: Suggestion

Provide suggestions based on entries in the directory of persons and past vota.

property votum_expression: ColumnElement[str | None][source]
property person_expressions: tuple[ColumnElement[str]][source]
class landsgemeinde.models.suggestion.PersonFunctionSuggestion(session: sqlalchemy.orm.Session, term: str | None = '')[source]

Bases: Suggestion

Provide suggestions based on entries in the directory of persons and past vota.

property votum_expression: ColumnElement[str | None][source]
property person_expressions: tuple[ColumnElement[str | None], Ellipsis][source]
class landsgemeinde.models.suggestion.PersonPlaceSuggestion(session: sqlalchemy.orm.Session, term: str | None = '')[source]

Bases: Suggestion

Provide suggestions based on entries in the directory of persons and past vota.

property votum_expression: ColumnElement[str | None][source]
property person_expressions: tuple[ColumnElement[str | None], Ellipsis][source]
class landsgemeinde.models.suggestion.PersonPoliticalAffiliationSuggestion(session: sqlalchemy.orm.Session, term: str | None = '')[source]

Bases: Suggestion

Provide suggestions based on entries in the directory of persons and past vota.

property votum_expression: ColumnElement[str | None][source]
property person_expressions: tuple[ColumnElement[str | None], Ellipsis][source]