address PR comments
This commit is contained in:
parent
16b451437f
commit
9f743fd6cd
4 changed files with 19 additions and 16 deletions
|
@ -33,6 +33,9 @@ _MAX_RESULTS_PER_PAGE = 50
|
|||
|
||||
def paginate(limit_kwarg_name='limit', offset_kwarg_name='offset',
|
||||
callback_kwarg_name='pagination_callback'):
|
||||
"""
|
||||
Decorates a handler adding a parsed pagination token and a callback to encode a response token.
|
||||
"""
|
||||
def wrapper(func):
|
||||
@wraps(func)
|
||||
def wrapped(*args, **kwargs):
|
||||
|
|
Reference in a new issue