(self)
Get a generator of results.
Get a generator of results.
Get a generator of results .
def get_items(self):
    ''' Get a generator of results. '''
    while True:
      has_remaining = self.append_requests()
      for item in self.pool_res:
        yield item
      if not has_remaining:
        break
    self.pool.close()
def get_items ( self ) : while True : has_remaining = self . append_requests ( ) for item in self . pool_res : yield item if not has_remaining : break self . pool . close ( )