code: def to_paginated_list(self, result, _ns, _operation, **kwargs):
          
          items, context = self.parse_result(result)
          headers = dict()
          paginated_list = PaginatedList(
              items=items,
              _page=self,
              _ns=_ns,
              _operation=_operation,
              _context=context,
          )
          return paginated_list, headers
docs: Convert a controller result to a paginated list.
  
          The result format is assumed to meet the contract of this page class's `parse_result` function.