Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
feat: start trainings endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
fbraem committed Jul 28, 2023
1 parent 9b38710 commit b09873e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions backend/src/kwai/api/v1/trainings/endpoints/trainings.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b09873e

Please sign in to comment.