#NEWLINE# def link( self , request , offset , limit ) : #NEWLINE# #INDENT# params = request . url_data . copy ( ) #NEWLINE# cfg = request . config #NEWLINE# params . update ( { #NEWLINE# #INDENT# cfg [ 'API_OFFSET_KEY' ] : offset , #NEWLINE# cfg [ 'API_LIMIT_KEY' ] : limit , #NEWLINE# #UNINDENT# } ) #NEWLINE# location = iri_to_uri ( request . path , params ) #NEWLINE# return request . absolute_uri ( location )