Unverified Commit 2d68594a authored by Yeuoly's avatar Yeuoly

feat: add variable selector mapping

parent f3d19f96
......@@ -137,4 +137,8 @@ class ToolNode(BaseNode):
"""
Extract variable selector to variable mapping
"""
pass
\ No newline at end of file
return {
k.value_selector: k.variable
for k in cast(ToolNodeData, node_data).tool_parameters
if k.variable_type == 'selector'
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment