Skip to content

Commit

Permalink
float
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshansGithub committed Jan 12, 2025
1 parent 7bda968 commit 76d76be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nautilus_api/schemas/attendance_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MeetingSchema(BaseModel):
time_end: int = Field(..., description="Unix timestamp for the end time")
location: str = Field(..., description="Location of the meeting")
description: str = Field(..., description="Detailed description of the meeting")
hours: int = Field(..., description="Duration of the meeting in hours")
hours: float = Field(..., description="Duration of the meeting in hours")
term: int = Field(..., description="Academic term of the meeting")
year: str = Field(..., description="Academic year of the meeting")

Expand Down Expand Up @@ -45,7 +45,7 @@ class ManualAttendanceLogSchema(BaseModel):
flag: bool = Field(..., description="Flag to indicate if suspicious attendance")
term: int = Field(..., description="Academic term")
year: str = Field(..., description="Academic year")
hours: int = Field(..., description="Duration of the override in hours")
hours: float = Field(..., description="Duration of the override in hours")


class AttendanceUserSchema(BaseModel):
Expand Down

0 comments on commit 76d76be

Please sign in to comment.