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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nusmods-api
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: A Python wrapper for the NUSMods API
5
5
  Author: kommade
6
6
  Author-email: kommade <khoojarrell@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nusmods-api"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "A Python wrapper for the NUSMods API"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.15.0"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nusmods-api"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "A Python wrapper for the NUSMods API"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -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[Lesson]:
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