示例#1
0
    def save_attendance(cls):
        """
        Call functions to save AttendanceModel to csv file
        """

        attendance_data_records = cls.get_records_from_objects()
        tools.save_data_to_file(cls._file_name, attendance_data_records)
示例#2
0
    def save_grades(cls):
        """
        Call functions to save Grade to csv file
        """

        grades_data_records = cls.get_records_from_objects()
        tools.save_data_to_file(cls._file_name, grades_data_records)
示例#3
0
    def save_assignments(cls):
        """
        Call functions to save Assignment to csv file
        """

        assignments_data_records = cls.get_records_from_objects()
        tools.save_data_to_file(cls._file_name, assignments_data_records)
示例#4
0
    def save_office_managers(cls):
        """
        Call functions to save OfficeManager to csv file
        """

        tools.save_data_to_file(cls._file_name,
                                cls.office_managers_list,
                                staff=True)
示例#5
0
    def save_students(cls):
        """
        Call functions to save Student to csv file
        """

        tools.save_data_to_file(cls._file_name, cls.student_list, staff=True)
示例#6
0
    def save_mentors(cls):
        """
        Call functions to save Mentor to csv file
        """

        tools.save_data_to_file(cls._file_name, cls.mentor_list, staff=True)