from pydantic import BaseModel class Participant(BaseModel): name: str def __hash__(self): return hash(self.name)