(self)
Append some requests to pool.

    Returns:
      a bool, True if still has unconsumed data, False otherwise.
Append some requests to pool.
Append some requests to pool .
def append_requests(self):
    '''
    Append some requests to pool.

    Returns:
      a bool, True if still has unconsumed data, False otherwise.
    '''
    pool_args = [
        (None, x) for x in self.sampler.next_part_utts(self.pool_chunk_size)
    ]
    self.pool_res = self.pool.imap_unordered(
        self.sampler.get_bare_sampler(), pool_args, chunksize=100)
    if pool_args:
      return True
    else:
      return False
def append_requests ( self ) : pool_args = [ ( None , x ) for x in self . sampler . next_part_utts ( self . pool_chunk_size ) ] self . pool_res = self . pool . imap_unordered ( self . sampler . get_bare_sampler ( ) , pool_args , chunksize = 100 ) if pool_args : return True else : return False