mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-24 23:47:49 +00:00
!fixup
This commit is contained in:
parent
3ddb0a3677
commit
90ea657ee9
@ -62,11 +62,12 @@ class KeyoskParser(webargs.flaskparser.FlaskParser):
|
|||||||
def make_pagination(matches: Sequence[Any], request=flask.request) -> PaginationData:
|
def make_pagination(matches: Sequence[Any], request=flask.request) -> PaginationData:
|
||||||
"""Paginate a sequence of result data
|
"""Paginate a sequence of result data
|
||||||
|
|
||||||
Parse the pagination parameters out of the request body and filter the list of matches
|
Parse the pagination parameters out of the request body and filter the list of
|
||||||
accordinglly
|
matches accordinglly
|
||||||
|
|
||||||
:param matches: Sequence of results to paginate
|
:param matches: Sequence of results to paginate
|
||||||
:returns: Pagination data tuple with processed results, pagination parameters, and the headers
|
:returns: Pagination data tuple with processed results, pagination parameters, and
|
||||||
to return to the client
|
the headers to return to the client
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pagination_parameters = {
|
pagination_parameters = {
|
||||||
|
Loading…
Reference in New Issue
Block a user