

def handle_get_node_id(self, handle, connection, match, data, hdr):
    ' Get node id from this node\n        '
    self.send_response(handle, connection, json.dumps({
        'id': self.node.id,
    }))

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControl.handle_get_node_id/original