Source code for vitap_vtop_client.grade_history.model.grade_history_model
from typing import List
from pydantic import BaseModel
[docs]
class GradeCourseHistoryModel(BaseModel):
course_code: str
course_title: str
course_type: str
credits: str
grade: str
exam_month: str
course_distribution: str
[docs]
class GradeHistoryModel(BaseModel):
credits_registered: str = "N/A"
credits_earned: str = "N/A"
cgpa: str = "N/A"
courses: List[GradeCourseHistoryModel] = []