[product] return cached usage data in response
Some checks failed
Python lint and test / linttest (push) Has been cancelled

This commit is contained in:
Piotr Domański 2024-08-03 23:52:30 +02:00
parent 9c10d4f5ee
commit 1a7f7ec86b

View file

@ -14,6 +14,7 @@ class Product(BaseModel):
fat: float
fiber: float
barcode: str | None
usage_count_cached: int | None
class Config:
from_attributes = True