app.schemas.update_task_schema module

class app.schemas.update_task_schema.UpdateTaskSchema(*, point_type: PointTypeEnum | None = None, points: Annotated[int | None, Gt(gt=0)] = None, description: str | None = None, finished_at: str | None = None, username: Annotated[str | None, MinLen(min_length=3), MaxLen(max_length=32), _PydanticGeneralMetadata(pattern='^[a-zA-Z0-9]*$')] = None, project_name: str | None = None, season_number: Annotated[int | None, Gt(gt=0)] = None)[source]

Bases: BaseModel

description: str | None
finished_at: str | None
classmethod from_task(task: Task)[source]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

point_type: PointTypeEnum | None
points: int | None
project_name: str | None
season_number: int | None
username: str | None
classmethod validate_datestring(v: str)[source]