-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroutes.py
More file actions
33 lines (28 loc) · 1.19 KB
/
Copy pathroutes.py
File metadata and controls
33 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"""Register API routes"""
from app import __version__
from fastapi import APIRouter
router = APIRouter()
from app.api.root import router as root_router
from app.utils.health import router as health_router
from app.api.notify.email import router as notify_router
from app.api.prompt.prompt import router as prompt_router
from app.api.prompt.empty import router as prompts_empty_router
from app.api.prompt.delete_id import router as prompt_delete_id_router
from app.api.prospects.prospects import router as prospects_router
from app.api.orders.orders import router as orders_router
from app.api.queue import router as queue_router
from app.api.github import github_router
from app.api.flickr import flickr_router
from app.api.youtube import youtube_router
router.include_router(root_router)
router.include_router(notify_router)
router.include_router(health_router)
router.include_router(prompt_router)
router.include_router(prompts_empty_router)
router.include_router(prompt_delete_id_router)
router.include_router(prospects_router)
router.include_router(orders_router)
router.include_router(queue_router)
router.include_router(github_router)
router.include_router(flickr_router)
router.include_router(youtube_router)