MCPcopy Index your code
hub / github.com/dataease/SQLBot / PaginationParams

Class PaginationParams

backend/common/core/schemas.py:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41T = TypeVar('T')
42
43class PaginationParams(BaseModel):
44 page: int = 1
45 size: int = 20
46 order_by: Optional[str] = None
47 desc: bool = False
48
49class PaginatedResponse(BaseModel, Generic[T]):
50 items: list[T] = Field(description=f"{PLACEHOLDER_PREFIX}grid_items")

Callers 4

pagerFunction · 0.90
option_pagerFunction · 0.90
pagerFunction · 0.90
list_pageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected