Python 64.6%
TypeScript 33.7%
CSS 0.8%
1from fastapi import APIRouter, Depends23from app.core.security import AuthUser, get_current_user4from app.services import courses as svc56router = APIRouter(tags=["courses"])789@router.get("/courses")10async def list_courses(_: AuthUser = Depends(get_current_user)) -> list[dict]:11 return await svc.list_courses()12