get one with load

This commit is contained in:
IluaAir
2025-08-15 15:47:58 +03:00
parent 9e5cde8e28
commit a9997b1207
5 changed files with 27 additions and 9 deletions

View File

@@ -16,5 +16,5 @@ class Task(TaskADDRequest):
user_id: int
status: Literal["open", "closed", "in_progress", "todo"]
time_spent: int
model_config = ConfigDict(from_attributes=True)
model_config = ConfigDict(from_attributes=True)