from typing import Any, cast from fansifter_common.adapters.db.orm import ( type_annotation_map as _type_annotation_map, # type: ignore ) from sqlalchemy.orm import DeclarativeBase, MappedAsDataclass type_annotation_map = cast(dict[Any, Any], _type_annotation_map) class Model(MappedAsDataclass, DeclarativeBase): """Base class for all default db models.""" type_annotation_map = type_annotation_map