13 lines
390 B
Python
13 lines
390 B
Python
from core.apirequest import executeRequest
|
|
from core.runtime.runtimecontract import buildRuntimeAttr, buildPreRuntimeAttr
|
|
|
|
|
|
def buildAction (action, outputs):
|
|
outputs, resolved = buildPreRuntimeAttr(action, outputs)
|
|
|
|
response, outputs = executeRequest(action, outputs, resolved)
|
|
|
|
outputs, response = buildRuntimeAttr(action, outputs, response)
|
|
|
|
return outputs, response
|