EVECelery.tasks.BaseTasks.Models.ModelsCached#

Module Contents#

Classes#

ModelCacheInfo

A model for cache information.

ModelCachedResponse

A cache response pydantic model for validation.

ModelCachedSuccess

A successful response that was cached.

ModelCachedException

An exception occurred that should be cached to avoid exhausting error limits.

class EVECelery.tasks.BaseTasks.Models.ModelsCached.ModelCacheInfo#

Bases: EVECelery.tasks.BaseTasks.Models.ModelsBase.ModelBaseEVECelery

A model for cache information.

class Config#
validate_assignment = True#
hit: bool#
key: str#
ttl: int#
class EVECelery.tasks.BaseTasks.Models.ModelsCached.ModelCachedResponse#

Bases: EVECelery.tasks.BaseTasks.Models.ModelsBase.ModelBaseWithModelInfo

A cache response pydantic model for validation.

cache: ModelCacheInfo#
class EVECelery.tasks.BaseTasks.Models.ModelsCached.ModelCachedSuccess#

Bases: ModelCachedResponse

A successful response that was cached.

class EVECelery.tasks.BaseTasks.Models.ModelsCached.ModelCachedException#

Bases: ModelCachedResponse

An exception occurred that should be cached to avoid exhausting error limits.

message: str#