code: def get_all_sources(self):
          
          result = []
          for batch in self.batches:
              result.extend(batch.sources)
          return result
docs: Returns all sources for all batches of this Executor.