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
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:
@@ -36,12 +36,12 @@ class Item(BaseModel):
|
||||
id (str): The unique identifier for the item.
|
||||
name (str): The name 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
|
||||
name: str
|
||||
description: str
|
||||
unit_price: str
|
||||
unit_price: float
|
||||
|
||||
|
||||
def item_from_sql(item_id: str):
|
||||
|
Reference in New Issue
Block a user