Pipelinen parannuksia building blockeilla

This commit is contained in:
Jaakko Vanhala
2026-04-12 18:48:14 +03:00
parent c1a5f8aff5
commit b2ee8b9031
175 changed files with 13311 additions and 237 deletions

View File

@@ -0,0 +1,16 @@
from pydantic import BaseModel, Field
from datetime import datetime
class TodoCreate(BaseModel):
title: str = Field(..., max_length=255)
description: str | None = Field(None)
class TodoResponse(BaseModel):
id: int
title: str
description: str | None
status: str
created_at: datetime
class Config:
from_attributes = True