mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
Improving description of potential parameters
This commit is contained in:
@@ -619,13 +619,13 @@ class Pagination(BaseHandler):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
"""Detail parameters remark.
|
"""Potential parameters.
|
||||||
**url**: current request url
|
**url**: URL in request
|
||||||
**page**: current page
|
**page**: current page in use
|
||||||
**per_page**: how many records displayed on one page. By default 100
|
**per_page**: number of records to display in the page. By default 100
|
||||||
**total**: total records for pagination
|
**total**: total records considered while paginating
|
||||||
**display_msg**: text for pagation information
|
**display_msg**: informative text for pagination
|
||||||
**record_name**: record name showed in pagination information
|
**record_name**: name of the record, showed in pagination info
|
||||||
"""
|
"""
|
||||||
self.page = kwargs.get(self._page_name, 1)
|
self.page = kwargs.get(self._page_name, 1)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user