Refactor LessonDate model to change Date type from str to date and remove unused TeacherSecondary2 field from Lesson model
This commit is contained in:
parent
768d9ff723
commit
75db8785a5
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,7 @@ from pydantic import BaseModel
|
|||
|
||||
class LessonDate(BaseModel):
|
||||
Timestamp: int
|
||||
Date: str
|
||||
Date: date
|
||||
DateDisplay: str
|
||||
Time: str
|
||||
|
||||
|
@ -73,7 +73,6 @@ class Lesson(BaseModel):
|
|||
Subject: Subject
|
||||
TeacherPrimary: Teacher
|
||||
TeacherSecondary: Teacher | None
|
||||
TeacherSecondary2: Teacher | None
|
||||
Change: Change | None
|
||||
Clazz: Clazz
|
||||
Distribution: Distribution | None
|
||||
|
|
Loading…
Add table
Reference in a new issue