pypaginate.params
Pagination parameters — validated at construction by the Rust core.
The validation rules live once in the core (paginate_core::validate); these
thin dataclasses delegate to them and re-raise as the package's ValidationError.
MAX_LIMIT
Maximum page size — the single source of truth, shared with the core + TS.
OffsetParams Objects
@dataclass(frozen=True, slots=True)
class OffsetParams()
Offset pagination: a 1-based page and a limit (1..=MAX_LIMIT).
offset
@property
def offset() -> int
Zero-based row offset for this page.
CursorParams Objects
@dataclass(frozen=True, slots=True)
class CursorParams()
Cursor pagination: a limit and at most one of after / before.