Merge modifications for more separate backend functions #69
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user