_base# Base Pydantic Object for Containers LunchableModel # Bases: BaseModel Hashable Pydantic Model Source code in lunchable/models/_base.py 8 9 10 11 12 13 14 15 16 17 18 19class LunchableModel(BaseModel): """ Hashable Pydantic Model """ model_config = ConfigDict(extra="allow") def __hash__(self) -> int: """ Hash Method for Pydantic BaseModels """ return hash((type(self), *tuple(self.__dict__.values()))) __hash__() # Hash Method for Pydantic BaseModels Source code in lunchable/models/_base.py 15 16 17 18 19def __hash__(self) -> int: """ Hash Method for Pydantic BaseModels """ return hash((type(self), *tuple(self.__dict__.values())))