diff --git a/api/src/entities/TodoItem.py b/api/src/entities/TodoItem.py index 0327d383..09b0fc8b 100644 --- a/api/src/entities/TodoItem.py +++ b/api/src/entities/TodoItem.py @@ -1,7 +1,5 @@ from __future__ import annotations -from typing import List - from pydantic import BaseModel, Field title_field = Field( @@ -9,17 +7,6 @@ ) -class User(BaseModel): - id: str - todos: List[TodoList] - - -class TodoList(BaseModel): - id: str - user: User - items: List[TodoItem] - - class TodoItem(BaseModel): id: str user_id: str