munch-ease-backend/api/meals.py

14 lines
478 B
Python
Raw Normal View History

"""Canonical meals router now delegates to v2 (household-scoped) implementation.
2025-10-18 05:50:43 +00:00
This file preserves the public import path `api.meals` for tests and app wiring,
and exposes the FastAPI router defined in meals_v2.
"""
2025-10-18 05:50:43 +00:00
from .meals_v2 import router # re-export canonical router
2025-10-18 05:50:43 +00:00
# Keep validate_meal import surface for tests that reference api.meals.validate_meal
from meals.service import validate_meal
2025-10-18 05:50:43 +00:00
__all__ = ["router", "validate_meal"]
_UNUSED = (router, validate_meal)