Code source de artifacts.models.tasks
from __future__ import annotations
from typing import Optional
from pydantic import BaseModel
from .common import RewardsSchema
from .enums import Skill, TaskType
[docs]
class TaskFullSchema(BaseModel):
code: str
level: int
type: TaskType
min_quantity: int
max_quantity: int
skill: Optional[Skill] = None
rewards: RewardsSchema