munch-ease-backend/api/shopping.py

15 lines
607 B
Python
Raw Normal View History

"""Canonical shopping router now delegates to v2 and exposes shared DTOs.
2025-10-18 05:50:43 +00:00
This keeps import path `api.shopping` available for shared models used by v2
and for any tests that import mapping helpers.
"""
2025-10-18 05:50:43 +00:00
# Re-export shared DTOs/mappers minimally for type references
from .shopping_models import CurrentShoppingList, ShoppingListOut, PurchasedShoppingList
2025-10-18 05:50:43 +00:00
# Expose the v2 router under the canonical module
from .shopping_v2 import router
2025-10-18 05:50:43 +00:00
__all__ = ["router", "CurrentShoppingList", "ShoppingListOut", "PurchasedShoppingList"]
_UNUSED = (router, CurrentShoppingList, ShoppingListOut, PurchasedShoppingList)