10 lines
204 B
Python
10 lines
204 B
Python
def buildKey(key, outputs):
|
|
value = key["keyvalue"]
|
|
|
|
if isinstance(value, dict) and "output" in value:
|
|
value = outputs[value["output"]]
|
|
|
|
return {
|
|
key["keytitle"]: value,
|
|
}
|