diff --git a/backend/src/kwai/api/v1/trainings/endpoints/trainings.py b/backend/src/kwai/api/v1/trainings/endpoints/trainings.py new file mode 100644 index 000000000..2059ec498 --- /dev/null +++ b/backend/src/kwai/api/v1/trainings/endpoints/trainings.py @@ -0,0 +1,14 @@ +"""Module that defines the trainings API.""" + +from fastapi import APIRouter + +from kwai.api.dependencies import deps +from kwai.core.db.database import Database + +router = APIRouter(prefix="/trainings", tags=["trainings"]) + + +@router.get("/") +async def get_trainings(db=deps.depends(Database)): + """Get all trainings.""" + pass