import grok from grok import index from interfaces import IStudent class Student(grok.Model): """This is a student record. """ grok.implements(IStudent) def __init__(self, a): """ entry_mode, end_level, name, jamb_reg_no, level, id, lga, entry_session, matric_no, sex, phone, session, course, mode, faculty, department, verdict, review_state, perm_address, email): self.entry_mode = entry_mode, self.end_level = end_level, self.name = name, self.jamb_reg_no = jamb_reg_no, self.level = level, self.id = id, self.lga = lga, self.entry_session = entry_session, self.matric_no = matric_no, self.sex = sex, self.phone = phone, self.session = session, self.course = course, self.mode = mode, self.faculty = faculty, self.department = department, self.verdict = verdict, self.review_state = review_state, self.perm_address = perm_address, self.email = email """ self.entry_mode, self.end_level, self.name, self.jamb_reg_no, self.level, self.id, self.lga, self.entry_session, self.matric_no, self.sex, self.phone, self.session, self.course, self.mode, self.faculty, self.department, self.verdict, self.review_state, self.perm_address, self.email = a def getCsv(self): return self.entry_mode, self.end_level, self.name, self.jamb_reg_no, self.level, self.id, self.lga, self.entry_session, self.matric_no, self.sex, self.phone, self.session, self.course, self.mode, self.faculty, self.department, self.verdict, self.review_state, self.perm_address, self.email