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