14 lines
429 B
Python
14 lines
429 B
Python
from __future__ import annotations
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from . import routes_list, routes_mutation, routes_signals
|
|
|
|
# routes_* already use the shared router with prefix "/projects";
|
|
# keep this package router unprefixed to avoid "/projects/projects/*".
|
|
router = APIRouter(tags=["projects"])
|
|
for _module in [routes_list, routes_mutation, routes_signals]:
|
|
router.include_router(_module.router)
|
|
|
|
__all__ = ["router"]
|