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