Fixed the documentation in Pagination.

This commit is contained in:
依瑪貓 2020-07-07 21:07:05 +08:00
parent 563a368ab0
commit 1f748d09ce

View File

@ -134,7 +134,7 @@ class Pagination:
"""The pagination. """The pagination.
Args: Args:
count (int): The total number of records records (list[Model]): All the records
page_no (int): The specified page number page_no (int): The specified page number
page_size (int): The specified number of records per page page_size (int): The specified number of records per page
is_reverse (bool): Whether we should display the last is_reverse (bool): Whether we should display the last
@ -147,7 +147,7 @@ class Pagination:
Attributes: Attributes:
page_no (int): The current page number page_no (int): The current page number
page_size (int): The page size page_size (int): The page size
records (Model): The records in the current page records (list[Model]): The records in the current page
""" """
page_no = None page_no = None
page_size = None page_size = None