mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 19:07:10 +00:00
Merge branch 'master' of https://gitlab.prodcontest.ru/team-15/project
This commit is contained in:
@@ -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",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user