changed unit_price to float
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Failing after 6m14s
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
Run linting on the backend code / Build (pull_request) Successful in 1m50s
Run testing on the backend code / Build (pull_request) Failing after 4m1s

This commit is contained in:
2025-10-08 17:31:42 +02:00
parent ab03cee3e3
commit d374dc333f

View File

@@ -36,12 +36,12 @@ class Item(BaseModel):
id (str): The unique identifier for the item. id (str): The unique identifier for the item.
name (str): The name of the item. name (str): The name of the item.
description (str): The description of the item. description (str): The description of the item.
unit_price (str): The unit price of the item. unit_price (float): The unit price of the item.
""" """
id: str id: str
name: str name: str
description: str description: str
unit_price: str unit_price: float
def item_from_sql(item_id: str): def item_from_sql(item_id: str):