'Return a paginated style `Response` object for the given output data.'

def get_paginated_response(self, data):

    assert (self.paginator is not None)
    return self.paginator.get_paginated_response(data)
