todoapp-vgv7cg/app/schemas/__init__.py
Automated Action 19ab35d8f5 Add priority levels, enhanced pagination, and search/filtering
- Add Priority enum (low, medium, high) to Todo model with default medium
- Create migration to add priority field to existing todos table
- Enhance pagination with proper metadata (page, total, has_next, has_prev)
- Add search functionality across title and description fields
- Add filtering by completion status and priority level
- Update API endpoints with query parameters for filtering and search
- Add TodoListResponse schema for structured pagination response
- Format code with Ruff
2025-06-18 01:01:29 +00:00

4 lines
133 B
Python

from .todo import Todo, TodoCreate, TodoUpdate, TodoListResponse
__all__ = ["Todo", "TodoCreate", "TodoUpdate", "TodoListResponse"]