from pydantic import BaseModel from fiber_package.util import EntityList class AssociationModel(BaseModel): full_name: str members: EntityList = EntityList("member", []) # committees: GroupList("commmittee", 0) # type: ignore # events: GroupList("event", 0) # type: ignore # activities: GroupList("activity", 0) # type: ignore # mailings: GroupList("mailing", 0) # type: ignore # mailalias: GroupList("mailalias", 0) # type: ignore