[product] return cached usage data in response
Some checks failed
Python lint and test / linttest (push) Has been cancelled
Some checks failed
Python lint and test / linttest (push) Has been cancelled
This commit is contained in:
parent
9c10d4f5ee
commit
1a7f7ec86b
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ class Product(BaseModel):
|
||||||
fat: float
|
fat: float
|
||||||
fiber: float
|
fiber: float
|
||||||
barcode: str | None
|
barcode: str | None
|
||||||
|
usage_count_cached: int | None
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
from_attributes = True
|
from_attributes = True
|
||||||
|
|
Loading…
Reference in a new issue