chore: initialize insar management system v2
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from . import (
|
||||
ai,
|
||||
aoi,
|
||||
auth,
|
||||
dinsar,
|
||||
dinsar_products,
|
||||
dinsar_production,
|
||||
hazard,
|
||||
health,
|
||||
idl,
|
||||
license,
|
||||
logs,
|
||||
monitor,
|
||||
orbit,
|
||||
pairing,
|
||||
ps_products,
|
||||
radar,
|
||||
root_registry,
|
||||
stats,
|
||||
task_batches,
|
||||
tasks,
|
||||
timeseries_production,
|
||||
tools,
|
||||
unpack,
|
||||
water,
|
||||
workflow,
|
||||
)
|
||||
|
||||
|
||||
def include_all_routers(router: APIRouter) -> None:
|
||||
"""将所有子路由注册到给定的 APIRouter。"""
|
||||
router.include_router(health.router)
|
||||
router.include_router(auth.router)
|
||||
router.include_router(license.router)
|
||||
router.include_router(tasks.router)
|
||||
router.include_router(workflow.router)
|
||||
router.include_router(task_batches.router)
|
||||
router.include_router(tools.router)
|
||||
router.include_router(unpack.router)
|
||||
router.include_router(monitor.router)
|
||||
router.include_router(orbit.router)
|
||||
router.include_router(root_registry.router)
|
||||
router.include_router(radar.router)
|
||||
router.include_router(aoi.router)
|
||||
router.include_router(pairing.router)
|
||||
router.include_router(dinsar.router)
|
||||
router.include_router(dinsar_products.router)
|
||||
router.include_router(dinsar_production.router)
|
||||
router.include_router(timeseries_production.router)
|
||||
router.include_router(ps_products.router)
|
||||
router.include_router(ai.router)
|
||||
router.include_router(stats.router)
|
||||
router.include_router(idl.router)
|
||||
router.include_router(hazard.router)
|
||||
router.include_router(water.router)
|
||||
router.include_router(logs.router)
|
||||
Reference in New Issue
Block a user