发布日期:2023年10月5日
添加的函数和类
# ---------------教师---------------
def get_teacher_roleText() as Teacher
def set_advanced_info() as Teacher
self.teaching_classes as Teacher
self.teaching_grade as Teacher
self.teaching_textbook as Teacher
self.province as Teacher
self.city as Teacher
self.subject as Teacher
# ---------------学生---------------
def get_homework_answer(self, homework: StuHomework) -> List[HwAnswer]
class AcademicInfo:
'''学业信息,用以get_exams查询'''
term_id: str
circles_year: str
teaching_cycle_id: str
begin_time: int
end_time: int
school_id: str
class TextBook:
'''教科书类'''
code: str = ""
"""教科书编号"""
name: str = ""
"""教科书名称"""
version: str = ""
"""教科书版本,如北师大、人教、部编等"""
versionCode: int = 0
"""教科书版本编号"""
bindSubject: BasicSubject = BasicSubject()
def __str__(self) -> str:
return f"{self.bindSubject.name} {self.name} ({self.version})"
class HwAnswer:
'''作业答案类'''
title: str = ""
content: str = ""