Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
class Product:
"""Represents a product in the inventory."""


sku: str
name: str
price: float
Expand All @@ -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] = {}
Expand Down
Loading