MCPcopy
hub / github.com/aosabook/500lines / start

Method start

cluster/code/cluster.py:524–527  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

522 self.requester = None
523
524 def start(self):
525 self.startup_role.start()
526 self.thread = threading.Thread(target=self.network.run)
527 self.thread.start()
528
529 def invoke(self, input_value, request_cls=Requester):
530 assert self.requester is None

Callers 1

test_startMethod · 0.95

Calls 1

startMethod · 0.45

Tested by 1

test_startMethod · 0.76