mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-03-03 01:40:48 +01:00
refactor: remove deprecated parameter and function
This commit is contained in:
@@ -10,7 +10,6 @@ __all__ = [
|
||||
"CursorPagination",
|
||||
"ErrorResponse",
|
||||
"OffsetPagination",
|
||||
"Pagination",
|
||||
"PaginatedResponse",
|
||||
"PydanticBase",
|
||||
"Response",
|
||||
@@ -108,10 +107,6 @@ class OffsetPagination(PydanticBase):
|
||||
has_more: bool
|
||||
|
||||
|
||||
# Backward-compatible - will be removed in v2.0
|
||||
Pagination = OffsetPagination
|
||||
|
||||
|
||||
class CursorPagination(PydanticBase):
|
||||
"""Pagination metadata for cursor-based list responses.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user