Skip to content

Commit

Permalink
Merge pull request #1419 from CloudSlang/remove-addFunction
Browse files Browse the repository at this point in the history
do not build envSetup for pythonExecutor
  • Loading branch information
QueueUpX authored Aug 24, 2023
2 parents 8d49404 + dc24a55 commit 3b04b9e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ private Value doEvaluateExpressionPythonExecutor(String expr,
PythonEvaluationResult result;
if (pythonExecutorLifecycleManagerService.isAlive()) {
try {
result = pythonExecutorService.eval(
buildAddFunctionsScriptForExternalPython(functionDependencies), expr, pythonContext);
result = pythonExecutorService.eval(null, expr, pythonContext);
} catch (ExternalPythonScriptException exception) {
if (logger.isDebugEnabled()) {
logger.warn("Could not evaluate expressions on python executor, retrying with python");
Expand Down

0 comments on commit 3b04b9e

Please sign in to comment.