Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)