anderson-ufrj
commited on
Commit
·
b39bef0
1
Parent(s):
0660b64
feat(api): create models module with pagination exports
Browse files- Add __init__.py to api/models directory
- Export pagination classes for chat functionality
- Fixes ModuleNotFoundError for src.api.models
- src/api/models/__init__.py +19 -0
src/api/models/__init__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
API models for request/response validation.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
from .pagination import (
|
| 6 |
+
CursorInfo,
|
| 7 |
+
CursorPaginationRequest,
|
| 8 |
+
CursorPaginationResponse,
|
| 9 |
+
ChatMessagePagination,
|
| 10 |
+
PaginationHelper
|
| 11 |
+
)
|
| 12 |
+
|
| 13 |
+
__all__ = [
|
| 14 |
+
"CursorInfo",
|
| 15 |
+
"CursorPaginationRequest",
|
| 16 |
+
"CursorPaginationResponse",
|
| 17 |
+
"ChatMessagePagination",
|
| 18 |
+
"PaginationHelper"
|
| 19 |
+
]
|