def get(self): return Pagination(headers={'Access-Control-Expose-Headers': 'X-Pa, X-Pb'}).set_data([1, 2], 4)
def get(self): return Pagination(auto_expose_headers=False).set_data([1, 2], 4)
def get(self): return Pagination().set_data([1, 2], 4)
def get(self): p = Pagination() return {'skip': p.skip, 'limit': p.limit, 'page': p.page}
def get(self): return Pagination(headers={ 'AAA': 'a', 'bbb': 'B' }).set_data([1, 2], 99)
def get(self): return Pagination(status_code=511).set_data([1, 2], 100)