Shifted to importing executeContract after filter checks to prevent excessive importing
This commit is contained in:
@@ -20,7 +20,7 @@ def buildRecursive(definition, outputs):
|
||||
currentOp = processregistry.registerProcess(definition)
|
||||
|
||||
responses = []
|
||||
from core.execution.executioncontract import executeContract
|
||||
|
||||
recursiveset = definition.recursiveset["actions"]
|
||||
|
||||
source = definition.recursiveset["source"]
|
||||
@@ -52,8 +52,10 @@ def buildRecursive(definition, outputs):
|
||||
|
||||
if job.kind == "action":
|
||||
currentOp[job.name] = {}
|
||||
|
||||
from core.execution.executioncontract import executeContract
|
||||
|
||||
response = executeContract(job, outputs)
|
||||
response = executeContract(job)
|
||||
responses.append(response)
|
||||
|
||||
if job.kind == "action":
|
||||
|
||||
Reference in New Issue
Block a user