munch-ease-backend/api/meals.py

13 lines
478 B
Python

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