Created the canonical recursive execution handler buildRecursive that now lives in the execution layer instead of the runtime. the previous recursive handlers are depreciated
This commit is contained in:
@@ -2,9 +2,11 @@ from core.execution.action import buildAction
|
||||
from core.execution.operation import buildOperation
|
||||
from core.execution.monitor import buildMonitor
|
||||
from core.runtime import manageFailure
|
||||
from core.execution.recursive import buildRecursive
|
||||
|
||||
def executeContract(module, outputs):
|
||||
|
||||
#print("DEBUGGING")
|
||||
#print(module.name)
|
||||
if module.kind == "operation":
|
||||
|
||||
outputs, responses = buildOperation(module, outputs)
|
||||
@@ -22,5 +24,10 @@ def executeContract(module, outputs):
|
||||
|
||||
return outputs, response
|
||||
|
||||
elif module.kind == "recursiveset":
|
||||
outputs, response = buildRecursive(module, outputs)
|
||||
|
||||
return outputs, response
|
||||
|
||||
#except Exception as error:
|
||||
#outputs = manageFailure(error, module)
|
||||
Reference in New Issue
Block a user