22 lines
576 B
Python
22 lines
576 B
Python
"""
|
|
Shared Routes for ROA2WEB Applications
|
|
|
|
This module provides factory functions for creating common API routers
|
|
that can be mounted in both the unified monolith backend.
|
|
|
|
Usage:
|
|
from shared.routes import create_companies_router, create_calendar_router
|
|
|
|
# In main.py
|
|
companies_router = create_companies_router(oracle_pool)
|
|
app.include_router(companies_router, prefix="/api/companies")
|
|
"""
|
|
|
|
from .companies import create_companies_router
|
|
from .calendar import create_calendar_router
|
|
|
|
__all__ = [
|
|
"create_companies_router",
|
|
"create_calendar_router",
|
|
]
|