code: def Pager(self, service):
      
      has_page = True
      while has_page:
        page = service.query(self)
        yield page
        has_page = self.HasNext(page)
        if has_page:
          self.NextPage()
docs: A page generator for this service query and the provided service.
  
      This generates a page as a result from using the provided service's query()
      method until there are no more results to fetch.
  
      Args:
        service: The service object for making a query using this service query.
  
      Yields:
        A resulting page from querying the provided service.