MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / get_node_params

Method get_node_params

apps/application/flow/workflow_manage.py:193–198  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

191 node_id = node_details.get('node_id')
192 if node_details.get('runtime_node_id') == start_node_id:
193 def get_node_params(n):
194 is_result = False
195 if ['application-node', 'loop-node', 'tool-workflow-lib-node'].__contains__(n.type):
196 is_result = True
197 return {**n.properties.get('node_data'), 'form_data': start_node_data, 'node_data': start_node_data,
198 'child_node': self.child_node, 'is_result': is_result}
199
200 self.start_node = self.get_node_cls_by_id(node_id, node_details.get('up_node_id_list'),
201 get_node_params=get_node_params)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected