code: def paginate(self, *, page_size, **options):
          
          return Pages(self._prepare(), page_size, QueryOptions(self, **options))
docs: Run this query and return a page iterator.
  
          Parameters:
            page_size(int): The number of entities to fetch per page.
            \**options(QueryOptions, optional)
  
          Returns:
            Pages: An iterator for this query's pages of results.