diff --git a/misc/projects.py b/misc/projects.py index de07f37..f499467 100644 --- a/misc/projects.py +++ b/misc/projects.py @@ -18,8 +18,3 @@ class ProjectCreate(BaseModel): description: Optional[str] = None tasks: List[TaskBase] = [] user_ids: List[int] = [] - -class ProjectList(BaseModel): - model_config = ConfigDict(from_attributes=True) - - projects: List[ProjectBase] \ No newline at end of file diff --git a/misc/tasks.py b/misc/tasks.py index f383fd9..63348ce 100644 --- a/misc/tasks.py +++ b/misc/tasks.py @@ -20,7 +20,3 @@ class TaskBase(BaseModel): description: Optional[str] = None status: TaskStatus = TaskStatus.PENDING -class TaskList(BaseModel): - model_config = ConfigDict(from_attributes=True) - - tasks: List[TaskBase] diff --git a/misc/users.py b/misc/users.py index 9e5f42e..452c328 100644 --- a/misc/users.py +++ b/misc/users.py @@ -7,8 +7,3 @@ class UserBase(BaseModel): id: int name: str email: str - -class UserList(BaseModel): - model_config = ConfigDict(from_attributes=True) - - users: List[UserBase] \ No newline at end of file