Added the exception to the documentation of the constructor of the Pagination utility.

This commit is contained in:
依瑪貓 2023-02-04 10:51:07 +08:00
parent 8c462e7b2c
commit 62697fb782

View File

@ -75,6 +75,7 @@ class Pagination(t.Generic[T]):
:param items: The items.
:param is_reversed: True if the default page is the last page, or False
otherwise.
:raise Redirection: When the pagination parameters are malformed.
"""
self.__current_uri: str = request.full_path if request.query_string \
else request.path