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

Method run_node_future

apps/application/flow/workflow_manage.py:556–563  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

554 return future
555
556 def run_node_future(self, node):
557 try:
558 node.valid_args(node.node_params, node.workflow_params)
559 self.send_progress(node)
560 result = self.run_node(node)
561 return NodeResultFuture(result, None, 200)
562 except Exception as e:
563 return NodeResultFuture(None, e, 500)
564
565 def run_node(self, node):
566 result = node.run()

Callers 2

run_chainMethod · 0.95
run_chainMethod · 0.80

Calls 4

send_progressMethod · 0.95
run_nodeMethod · 0.95
NodeResultFutureClass · 0.70
valid_argsMethod · 0.45

Tested by

no test coverage detected