(self, limit, url=None, marker_attribute='uuid', **kwargs)
return link.Link.make_link('next', pecan.request.host_url,
                                   resource_url, next_args).href
Return a link to the next subset of the collection.
Return a link to the next subset of the collection.
Return a link to the next subset of the collection .
def get_next(self, limit, url=None, marker_attribute='uuid', **kwargs):
        """Return a link to the next subset of the collection."""
        if not self.has_next(limit):
            return wtypes.Unset

        resource_url = url or self._type
        q_args = ''.join(['%s=%s&' % (key, kwargs[key]) for key in kwargs])
        next_args = '?%(args)slimit=%(limit)d&marker=%(marker)s' % {
            'args': q_args, 'limit': limit,
            'marker': getattr(self.collection[-1], marker_attribute)}

        return link.Link.make_link('next', pecan.request.host_url,
                                   resource_url, next_args).href
def get_next ( self , limit , url = None , marker_attribute = 'uuid' , * * kwargs ) : if not self . has_next ( limit ) : return wtypes . Unset resource_url = url or self . _type q_args = '' . join ( [ '%s=%s&' % ( key , kwargs [ key ] ) for key in kwargs ] ) next_args = '?%(args)slimit=%(limit)d&marker=%(marker)s' % { 'args' : q_args , 'limit' : limit , 'marker' : getattr ( self . collection [ - 1 ] , marker_attribute ) } return link . Link . make_link ( 'next' , pecan . request . host_url , resource_url , next_args ) . href