
- 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
4 lines
133 B
Python
4 lines
133 B
Python
from .todo import Todo, TodoCreate, TodoUpdate, TodoListResponse
|
|
|
|
__all__ = ["Todo", "TodoCreate", "TodoUpdate", "TodoListResponse"]
|