14 lines
607 B
Python
14 lines
607 B
Python
"""Canonical shopping router now delegates to v2 and exposes shared DTOs.
|
|
|
|
This keeps import path `api.shopping` available for shared models used by v2
|
|
and for any tests that import mapping helpers.
|
|
"""
|
|
|
|
# Re-export shared DTOs/mappers minimally for type references
|
|
from .shopping_models import CurrentShoppingList, ShoppingListOut, PurchasedShoppingList
|
|
|
|
# Expose the v2 router under the canonical module
|
|
from .shopping_v2 import router
|
|
|
|
__all__ = ["router", "CurrentShoppingList", "ShoppingListOut", "PurchasedShoppingList"]
|
|
_UNUSED = (router, CurrentShoppingList, ShoppingListOut, PurchasedShoppingList)
|