winterthur.models.address

Module Contents

Classes

WinterthurAddress

Mixin providing created/modified timestamps for all records.

class winterthur.models.address.WinterthurAddress[source]

Bases: onegov.core.orm.Base, onegov.core.orm.mixins.TimestampMixin

Mixin providing created/modified timestamps for all records.

The columns are deferred loaded as this is primarily for logging and future forensics.

property is_addressless: bool[source]
property title: str[source]
__tablename__ = 'winterthur_addresses'[source]
id: Column[int][source]
street_id: Column[int][source]
street: Column[str][source]
house_number: Column[int][source]
house_extra: Column[str | None][source]
zipcode: Column[int][source]
zipcode_extra: Column[int | None][source]
place: Column[str][source]
district: Column[str][source]
neighbourhood: Column[str][source]
classmethod as_addressless(street_id: int, street: str) typing_extensions.Self[source]