code: def get_all_results_for_query_batch(self, batch_id, job_id=None, chunk_size=2048):
          
          result_ids = self.get_query_batch_result_ids(batch_id, job_id=job_id)
          if not result_ids:
              raise RuntimeError('Batch is not complete')
          for result_id in result_ids:
              yield self.get_query_batch_results(
                  batch_id,
                  result_id,
                  job_id=job_id,
                  chunk_size=chunk_size
              )
docs: Gets result ids and generates each result set from the batch and returns it
          as an generator fetching the next result set when needed
  
          Args:
              batch_id: id of batch
              job_id: id of job, if not provided, it will be looked up