Working resolver tool
This commit is contained in:
Binary file not shown.
@@ -6,10 +6,12 @@ def buildPath(path, outputs):
|
||||
|
||||
for part in path:
|
||||
if isinstance(part, dict):
|
||||
value = outputs[part["output"]]
|
||||
value = outputs[part["output"]][part["keys"]]
|
||||
|
||||
for key in part.get("keys", []):
|
||||
value = value[key]
|
||||
|
||||
|
||||
#for key in part.get("keys", []):
|
||||
#value = value[key]
|
||||
|
||||
result += str(value)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user