Working resolver integration with buildSelect3 exception
This commit is contained in:
Binary file not shown.
@@ -3,16 +3,23 @@ from core.runtime.savedata import loadSave, buildSave
|
||||
from core.runtime.outputs import buildOutput
|
||||
from core.runtime.logs import buildLog
|
||||
from core.runtime.runtimecontract import buildRuntimeAttr
|
||||
from core.runtime.resolver import resolveItem
|
||||
|
||||
def buildAction (action, outputs):
|
||||
|
||||
#resolved ={}
|
||||
def buildAction (action, outputs):#, resolved):
|
||||
|
||||
if hasattr(action, "loaddata"):
|
||||
outputs = loadSave(outputs, action)
|
||||
|
||||
response, outputs = executeRequest(action, outputs)
|
||||
resolved = {}
|
||||
if hasattr(action, "resolve"):
|
||||
resolved = resolveItem(action, outputs)
|
||||
|
||||
response, outputs = executeRequest(action, outputs, resolved)
|
||||
|
||||
#print("DEBUG:", outputs)
|
||||
|
||||
#print(resolved)
|
||||
|
||||
outputs, response = buildRuntimeAttr(action, outputs, response)
|
||||
|
||||
return outputs, response
|
||||
|
||||
Reference in New Issue
Block a user