management api

This commit is contained in:
Igor Miagkov
2022-12-31 10:31:31 +01:00
committed by Andreas Köpf
parent e485ebcd43
commit 13d01b5a2f
8 changed files with 507 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
from fastapi import APIRouter
from oasst_backend.api.v1 import tasks, text_labels
from oasst_backend.api.v1 import management, tasks, text_labels
api_router = APIRouter()
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"])
api_router.include_router(text_labels.router, prefix="/text_labels", tags=["text_labels"])
api_router.include_router(management.router, prefix="/management", tags=["management"])