Files
musicseerr/backend/models/pagination.py
T
2026-04-03 15:53:00 +01:00

11 lines
219 B
Python

from typing import Any
def paginated_response(
items: list[Any],
total: int,
offset: int,
limit: int,
) -> dict[str, Any]:
return {"items": items, "total": total, "offset": offset, "limit": limit}