mycqu.exam.Exam¶
- class mycqu.exam.Exam(course: mycqu.course.Course, batch: str, batch_id: int, building: str, floor: int, room: str, stu_num: int, date: datetime.date, start_time: datetime.time, end_time: datetime.time, week: int, weekday: int, stu_id: str, seat_num: int, chief_invi: List[mycqu.exam.Invigilator], asst_invi: Optional[List[mycqu.exam.Invigilator]])¶
考试信息
Methods
__init__
(course, batch, batch_id, building, ...)fetch
(student_id)从 my.cqu.edu.cn 上获取指定学生的考表
from_dict
(data)Attributes
course
batch
batch_id
building
floor
room
stu_num
date
start_time
end_time
week
weekday
stu_id
seat_num
chief_invi
asst_invi
Details
- static fetch(student_id: str) List[mycqu.exam.Exam] ¶
从 my.cqu.edu.cn 上获取指定学生的考表
- 参数
student_id (str) – 学生学号
- 返回
本学期的考表
- 返回类型
List[Exam]