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 373d424 commit 7565c9aCopy full SHA for 7565c9a
fastapi_pagination/paginator.py
@@ -15,10 +15,12 @@ def paginate(
15
params: Optional[AbstractParams] = None,
16
length_function: Callable[[Sequence[T]], int] = len,
17
*,
18
+ safe: bool = False,
19
transformer: Optional[SyncItemsTransformer] = None,
20
additional_data: Optional[AdditionalData] = None,
21
) -> Any:
- check_installed_extensions()
22
+ if not safe:
23
+ check_installed_extensions()
24
25
params, raw_params = verify_params(params, "limit-offset")
26
0 commit comments