daemon.models.base module

class daemon.models.base.StoreItem(**data)[source]

Bases: pydantic.main.BaseModel

Pydantic model for StoreItem

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

time_created: datetime.datetime
class daemon.models.base.StoreStatus(**data)[source]

Bases: pydantic.main.BaseModel

Pydantic model for StoreStatus

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

time_created: datetime.datetime
time_updated: datetime.datetime
num_add: int
num_del: int
items: Dict[daemon.models.id.DaemonID, daemon.models.base.StoreItem]