<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def Pager(self, service):
 """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. """

    has_page = True
    while has_page:
      page = service.query(self)
      yield page
      has_page = self.HasNext(page)
      if has_page:
        self.NextPage()