

def handle_get_actor_report(self, handle, connection, match, data, hdr):
    ' Get report from actor\n        '
    try:
        report = data.node.am.report(match.group(1))
        status = calvinresponse.OK
    except:
        _log.exception('Actor report failed')
        report = None
        status = calvinresponse.NOT_FOUND
    self.send_response(handle, connection, (None if (report is None) else json.dumps(report)), status=status)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControl.handle_get_actor_report/VarMisuse@28/45 `self`->`data`