diff --git a/src/schemas/users.py b/src/schemas/users.py index 6a020d3..3322c43 100644 --- a/src/schemas/users.py +++ b/src/schemas/users.py @@ -1,4 +1,5 @@ from pydantic import BaseModel +from typing import List class User(BaseModel): @@ -6,8 +7,8 @@ class User(BaseModel): username: str hashed_password: str - high_scores: list[] = [] - course_progresses: list[] = [] + high_scores: List[int] = [] + course_progresses: List[int] = [] class Config: orm_mode = True