Skip to content

Commit ad9af70

Browse files
authored
Merge pull request #161 from kigawas/patch-2
Hide warning when importing pagination_params
2 parents 7ba5d02 + fc3273a commit ad9af70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastapi_pagination/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ async def _pagination_params(*args, **kwargs) -> params_type: # type: ignore
148148

149149

150150
with warnings.catch_warnings():
151+
warnings.simplefilter("ignore")
151152
pagination_params = using_params(Params)
152153

153154

0 commit comments

Comments
 (0)