MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / get_node

Method get_node

apps/application/flow/common.py:147–153  ·  view source on GitHub ↗

根据node_id 获取节点信息 @param node_id: node_id @return: 节点信息

(self, node_id)

Source from the content-addressed store, hash-verified

145 self.workflow_mode = workflow_mode
146
147 def get_node(self, node_id):
148 """
149 根据node_id 获取节点信息
150 @param node_id: node_id
151 @return: 节点信息
152 """
153 return self.node_map.get(node_id)
154
155 def get_up_edge_nodes(self, node_id) -> List[EdgeNode]:
156 """

Callers 6

get_start_nodeMethod · 0.95
executeMethod · 0.80
get_start_nodeMethod · 0.80
get_base_nodeMethod · 0.80
init_fieldsMethod · 0.80
reset_variableMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected