diff options
Diffstat (limited to 'schemas.py')
| -rw-r--r-- | schemas.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,8 +6,8 @@ from typing import Optional, List, Dict # Ingredient Schemas class IngredientCreate(BaseModel): name: str - quantity: float - unit: str + quantity: float = 1.0 + unit: str = "" category: Optional[str] = None expiry_date: Optional[date] = None |
