We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b89efd commit 48a461fCopy full SHA for 48a461f
packages/service-library/src/servicelib/fastapi/rest_pagination.py
@@ -4,6 +4,7 @@
4
from fastapi_pagination.cursor import CursorPage # type: ignore[import-not-found]
5
from fastapi_pagination.customization import ( # type: ignore[import-not-found]
6
CustomizedPage,
7
+ UseIncludeTotal,
8
UseParamsFields,
9
)
10
from models_library.api_schemas_storage.storage_schemas import (
@@ -24,5 +25,8 @@
24
25
description="Page size",
26
27
),
28
+ UseIncludeTotal(
29
+ include_total=False
30
+ ), # make total field optional as S3 does not provide that
31
]
32
CustomizedPathsCursorPageParams: TypeAlias = CustomizedPathsCursorPage.__params_type__ # type: ignore
0 commit comments