Coverage for src/lexigram/web/pagination/__init__.py: 100%
3 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-25 04:37 +0800
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-25 04:37 +0800
1"""Pagination helpers for list endpoints.
3This package exposes a small public API. Implementation details live in
4``models.py`` so that ``__init__.py`` contains nothing but exports.
5"""
7from __future__ import annotations
9from lexigram.web.pagination.models import (
10 CursorPage,
11 Page,
12 PageRequest,
13 T,
14 cursor_page_to_response,
15 paginated,
16)
18__all__ = [
19 "CursorPage",
20 "Page",
21 "PageRequest",
22 "T",
23 "cursor_page_to_response",
24 "paginated",
25]