Skip to content

Types

YearsActive

Bases: NamedTuple

Simple Named Tuple for Staff.years_active

end_year class-attribute instance-attribute

end_year: int | None = None

start_year class-attribute instance-attribute

start_year: int | None = None

FuzzyDateInt module-attribute

FuzzyDateInt = Annotated[int, Field(ge=10000000, le=99999999, description='8 digit long date integer (YYYYMMDD). Unknown dates represented by 0. E.g. 2016: 20160000, May 1976: 19760500')]

8 digit long date integer (YYYYMMDD). Unknown dates represented by 0. E.g. 2016: 20160000, May 1976: 19760500

CollectionOf module-attribute

CollectionOf: TypeAlias = Union[set[T], tuple[T, ...], list[T]]