Enumeration Types¶
This module contains all the enums used in the aiocvv package, which are used for type hinting and for data that is always the same.
- class aiocvv.enums.AbsenceCode(*values)¶
Represents the absence codes.
- Variables:
absence – You were absent.
delay – You entered school late.
short_delay – You entered school a little late.
exit – You left school early.
- class aiocvv.enums.EventCode(*values)¶
Represents the event types for agenda.
- Variables:
note – An annotation for that moment in the agenda.
homework – An assignment for that day.
reservation – A classroom reservation.
- class aiocvv.enums.GradeCode(*values)¶
Represents the different grade types.
- Variables:
decimal – A simple, normal grade.
competences – A grade for competences.
new_competences – A grade for new competences.
entry_test – An entry test grade.
pcto – A grade for the PCTO.
- class aiocvv.enums.LessonEvent(*values)¶
Represents the lesson types.
- Variables:
register – Normal lesson.
co_presense – Co-presence lesson (there is more than one teacher).
co_presense_support – Co-presence lesson with support.
- class aiocvv.enums.LessonStatus(*values)¶
Represents the student’s presence status for a single lesson.
- Variables:
present – The student was present.
out – The student was out of class, but present in school.
absent – The student was absent.
no_lesson – There was no lesson at all.
- class aiocvv.enums.NoteType(*values)¶
Represents the note types.
- Variables:
teacher – An annotation made by a teacher.
registry – A disciplinary note.
warning – A warning note.
sanction – A disciplinary sanction.
- class aiocvv.enums.RegisterType(*values)¶
Represents the register types.
- Variables:
standard – Standard register.
simplified – Simplified register.
- class aiocvv.enums.SchoolDayStatus(*values)¶
Represents the school day statuses.
- Variables:
school – Normal school, working day.
no_lesson – Day without lessons.
holiday – Holiday.
nonworking – Non-working day.
undefined – Anything else?
- class aiocvv.enums.UserType(*values)¶
Represents the user types.
- Variables:
student – The user is a student.
teacher – The user is a teacher.
parent – The user is a parent.
- class aiocvv.enums.Weekday(*values)¶
Represents the weekdays returned by the Classeviva API from the calendar endpoint.
- Variables:
sunday – Sunday.
monday – Monday.
tuesday – Tuesday.
wednesday – Wednesday.
thursday – Thursday.
friday – Friday.
saturday – Saturday.