From 12b6c7b3381cb1038292d68cddf1b343609e61ce Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Thu, 30 Apr 2020 18:27:30 +0200 Subject: [PATCH] Executor: pass arguments to actions --- jeeves/core/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeeves/core/executor.py b/jeeves/core/executor.py index 8aff350..dbb381c 100644 --- a/jeeves/core/executor.py +++ b/jeeves/core/executor.py @@ -31,7 +31,7 @@ class Executor: try: action = ActionRegistry.get_action_cls(step.task.type)(parameters=step.task.parameters) action.parse_parameters_with_arguments(**self._arguments) - step.result = action.execute(workspace=self._execution.workspace) + step.result = action.execute(workspace=self._execution.workspace, arguments=self._arguments) except Exception as error: # Catch unhandled exceptions, mark the result as unsuccessful # and append the error as output.