From b248167b9e0c16b44a3beb7318b9107c42add0d2 Mon Sep 17 00:00:00 2001 From: rupin-deepsource Date: Mon, 20 Apr 2026 16:19:02 +0530 Subject: [PATCH] Update inventory.py --- app/inventory.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/inventory.py b/app/inventory.py index b73569a96..03c1e7ff4 100644 --- a/app/inventory.py +++ b/app/inventory.py @@ -13,6 +13,7 @@ class Product: """Represents a product in the inventory.""" + sku: str name: str price: float @@ -27,7 +28,7 @@ def total_value(self) -> float: class InventoryManager: """Manages product inventory with tracking and alerts.""" - LOW_STOCK_THRESHOLD = 10 + LOW_STOCK_THRESHOLD = 11 def __init__(self) -> None: self._products: dict[str, Product] = {}