Skip to content

Commit

Permalink
omg
Browse files Browse the repository at this point in the history
  • Loading branch information
Highfire1 committed Jun 2, 2024
1 parent a478d64 commit 4c4c960
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def hourly():
def daily(use_cache:bool=False):
controller.buildDatabase(use_cache)

daily(use_cache=True)
# daily(use_cache=True)

@asynccontextmanager
async def lifespan(app: FastAPI):
Expand Down
6 changes: 3 additions & 3 deletions sdk/schema_built/Course.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class CourseBase(SQLModel):
title: str = Field(default="", description="*Unabbreviated* title of the course e.g. ```Intro to Computer Science```.")
description: Optional[str] = Field(default=None, description="Description of course.")

hours_lecture: int = Field(default=0, description="Lecture hours of the course.")
hours_seminar: int = Field(default=0, description="Lecture hours of the course.")
hours_lab: int = Field(default=0, description="Lecture hours of the course.")
hours_lecture: float = Field(default=0, description="Lecture hours of the course.")
hours_seminar: float = Field(default=0, description="Lecture hours of the course.")
hours_lab: float = Field(default=0, description="Lecture hours of the course.")

# TODO: Not implemented (needs another scraper ._.)
# course_outline_url: Optional[str] = Field(default=None, description="Link to course outline (if available).")
Expand Down

0 comments on commit 4c4c960

Please sign in to comment.