

def handle_peer_setup_cb(self, handle, connection, status=None, peer_node_ids=None):
    _log.analyze(self.node.id, '+', status.encode())
    if peer_node_ids:
        data = json.dumps({k: (v[0], v[1].status) for (k, v) in peer_node_ids.items()})
    else:
        data = None
    handle.send_response(handle, connection, data, status=status.status)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControl.handle_peer_setup_cb/VarMisuse@93/112 `self`->`handle`