INNER CODE UNIT · Python
UserResponse
doganarif/fastapi-radar · example_app.py:78
class UserResponse(BaseModel):
id: int
username: str
email: str
full_name: Optional[str]
created_at: datetime
class Config:
from_attributes = True
# FastAPI app
app = FastAPI(
title="Example App with Radar",
description="Demonstration of FastAPI Radar debugging dashboard",
version="1.0.0",
)