Coverage for opt/mealie/lib/python3.12/site-packages/mealie/routes/households/__init__.py: 100%

13 statements  

« prev     ^ index     » next       coverage.py v7.10.6, created at 2025-11-25 15:48 +0000

1from fastapi import APIRouter 1a

2 

3from . import ( 1a

4 controller_cookbooks, 

5 controller_group_notifications, 

6 controller_group_recipe_actions, 

7 controller_household_self_service, 

8 controller_invitations, 

9 controller_mealplan, 

10 controller_mealplan_rules, 

11 controller_shopping_lists, 

12 controller_webhooks, 

13) 

14 

15router = APIRouter() 1a

16 

17router.include_router(controller_cookbooks.router) 1a

18router.include_router(controller_group_notifications.router) 1a

19router.include_router(controller_group_recipe_actions.router) 1a

20router.include_router(controller_household_self_service.router) 1a

21router.include_router(controller_invitations.router) 1a

22router.include_router(controller_shopping_lists.router) 1a

23router.include_router(controller_shopping_lists.item_router) 1a

24router.include_router(controller_webhooks.router) 1a

25 

26# mealplan_rules must be added before mealplan due to the way the routes are defined 

27router.include_router(controller_mealplan_rules.router) 1a

28router.include_router(controller_mealplan.router) 1a