"""User Pydantic schemas.""" from pydantic import BaseModel class UserCreate(BaseModel): """Schema for user registration.""" username: str password: str class UserResponse(BaseModel): """Schema for user response.""" id: int username: str class Config: from_attributes = True