Skip to content

Commit

Permalink
Fix type error in result
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0517 committed Dec 7, 2024
1 parent effa17f commit a043cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/db/task/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TaskStatusResponse(BaseModel):
default=ResultType.JSON,
description="Result type whether it's a filepath or JSON"
)
result: Optional[dict] = Field(
result: Optional[Any] = Field(
default=None,
description="JSON data representing the result of the task"
)
Expand Down

0 comments on commit a043cc3

Please sign in to comment.