Source code for vitap_vtop_client.marks.model.marks_model
from typing import List
from pydantic import BaseModel, RootModel
[docs]
class MarkDetail(BaseModel):
serial_number: str
mark_title: str
max_mark: str
weightage: str
status: str
scored_mark: str
weightage_mark: str
remark: str
[docs]
class SubjectMark(BaseModel):
serial_number: str
class_id: str
course_code: str
course_title: str
course_type: str
course_system: str
faculty: str
slot: str
details: List[MarkDetail]
[docs]
class MarksModel(RootModel[List[SubjectMark]]):
pass