Skip to content
Snippets Groups Projects

Give loop full access to input content in prepare

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -204,7 +204,7 @@ class Runner(object):
# The method is optional
if hasattr(self.obj, 'prepare'):
if self.algorithm.is_autonomous:
if self.algorithm.type in [Algorithm.AUTONOMOUS, Algorithm.LOOP_USER]:
self.prepared = loader.run(self.obj, 'prepare', self.exc, data_loaders.secondaries())
else:
self.prepared = loader.run(self.obj, 'prepare', self.exc, data_loaders)
Loading