This commit is contained in:
rngsurrounded
2025-03-02 23:06:03 +09:00
+1 -1
View File
@@ -12,6 +12,7 @@ from apps.task.models import (
class TaskOutSchema(ModelSchema): class TaskOutSchema(ModelSchema):
status: Literal["sent", "checked", "checking", "not_submitted"] = None status: Literal["sent", "checked", "checking", "not_submitted"] = None
type: Literal["input", "checker", "review"] = None
@staticmethod @staticmethod
def resolve_status( def resolve_status(
@@ -30,7 +31,6 @@ class TaskOutSchema(ModelSchema):
"competition", "competition",
"title", "title",
"description", "description",
"type",
"in_competition_position", "in_competition_position",
"points", "points",
] ]