Automated Action 0186fc8e70 Create movie database backend with FastAPI and SQLite
This commit implements a simple movie database backend inspired by IMDb. It includes:
- API endpoints for movies, actors, directors and genres
- SQLAlchemy models with relationships
- Alembic migrations
- Pydantic schemas for request/response validation
- Search and filtering functionality
- Health check endpoint
- Complete documentation
2025-05-19 20:28:07 +00:00

12 lines
243 B
Python

from pydantic import BaseModel
from typing import Dict, Optional
class HealthCheck(BaseModel):
"""
Health check response schema.
"""
status: str
version: str
db_status: str
details: Optional[Dict[str, str]] = None