Se modifico el task de coves

This commit is contained in:
2025-09-01 15:55:09 -06:00
parent 879ce8d544
commit c572d4beed
39 changed files with 173 additions and 31 deletions

18
api/api_v2/api.py Normal file
View File

@@ -0,0 +1,18 @@
from fastapi import APIRouter
# En Python, no se pueden usar llaves {} para importar múltiples módulos.
# Debes usar paréntesis () para hacer importaciones multilínea.
from api.api_v2.modules.acuses import router as acuses_router
from api.api_v2.modules.coves import router as coves_router
from api.api_v2.modules.edocs import router as edocs_router
from api.api_v2.modules.partidas import router as partidas_router
from api.api_v2.modules.pedimentos import router as pedimentos_router
api_router = APIRouter()
# Incluir routers de endpoints
api_router.include_router(acuses_router, tags=["acuses"])
api_router.include_router(coves_router, tags=["coves"])
api_router.include_router(edocs_router, tags=["edocs"])
api_router.include_router(partidas_router, tags=["partidas"])
api_router.include_router(pedimentos_router, tags=["pedimentos"])