nusmods-api 0.2.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/PKG-INFO +1 -1
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/pyproject.toml +1 -1
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/pyproject.toml.orig +1 -1
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/src/nusmods_api/models.py +1 -1
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/README.md +0 -0
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/src/nusmods_api/__init__.py +0 -0
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/src/nusmods_api/cache.py +0 -0
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/src/nusmods_api/client.py +0 -0
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/src/nusmods_api/exceptions.py +0 -0
- {nusmods_api-0.2.0 → nusmods_api-0.3.0}/src/nusmods_api/py.typed +0 -0
|
@@ -148,7 +148,7 @@ class Timetable:
|
|
|
148
148
|
weekly: list[LessonWithModule]
|
|
149
149
|
exams: list[ExamTimetable]
|
|
150
150
|
|
|
151
|
-
def get_day_schedule(self, day: str) -> list[
|
|
151
|
+
def get_day_schedule(self, day: str) -> list[LessonWithModule]:
|
|
152
152
|
"""Get the lessons for a specific day of the week."""
|
|
153
153
|
if day not in {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"}:
|
|
154
154
|
raise ValueError("Day must be one of Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|