1234567891011121314151617 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- from fastapi import APIRouter
- from app.api.endpoints.analysis.analysis import analysis_line_chart
- from schemas.app.analysis import LineChart
- router = APIRouter(tags=["作业/考试分析-客户端"])
- router.add_api_route("/analysis/line",
- analysis_line_chart,
- methods=["get"],
- response_model=LineChart,
- response_model_exclude_none=True,
- summary="作业/考试分析-折线图")
|