#!/usr/bin/env python # -*- coding: utf-8 -*- from fastapi import APIRouter from schemas.app.schoolclass import SchoolClassList from .teacher import get_classes router = APIRouter(tags=["个人中心(教师)"]) router.add_api_route("/myclasses", get_classes, response_model=SchoolClassList, response_model_exclude_none=True, summary="个人中心-我的班级") __all__ = [router]