/
FlysAt
/
DataFoundry
Обзор
Документация
Войти
/
FlysAt
/
DataFoundry
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
backend/src/api/__init__.py
25 строк
985 B
AlexanderShmygol
add version datasets
03 май 2026, 16:21
03 май 2026, 16:21
81aab08
Код
Авторство
О чём код?
from fastapi import APIRouter from fastapi.responses import JSONResponse from src.api.auth import router as auth_router from src.api.datasets import router as datasets_router from src.api.orders import router as orders_router from src.api.assignments import router as assignments_router from src.api.label_studio_webhooks import router as label_studio_webhooks_router from src.api.messages import router as messages_router from src.api.order_annotation_types import router as order_annotation_types_router api_router = APIRouter(prefix="/api") @api_router.get("/health", tags=["system"]) async def healthcheck(): return JSONResponse({"status": "ok"}) api_router.include_router(auth_router) api_router.include_router(orders_router) api_router.include_router(datasets_router) api_router.include_router(assignments_router) api_router.include_router(messages_router) api_router.include_router(order_annotation_types_router) api_router.include_router(label_studio_webhooks_router)