Refactor quantity field in RecipeIngredient model to use float instead of string

This commit is contained in:
2024-11-01 08:49:19 -04:00
parent cbec2c5f6d
commit 76fa7521eb
+1 -1
View File
@@ -99,7 +99,7 @@ class InstructionStep(BaseModel):
class RecipeIngredient(BaseModel):
name: str
quantity: str
quantity: float
unit: str
class Recipe(BaseModel):