

def handle_deploy_cb(self, handle, connection, status, deployer, **kwargs):
    _log.analyze(self.node.id, '+ DEPLOYED', {
        'status': status.status,
    })
    if status:
        self.send_response(status, connection, (json.dumps({
            'application_id': deployer.app_id,
            'actor_map': deployer.actor_map,
            'placement': kwargs.get('placement', None),
            'requirements_fulfilled': (status.status == calvinresponse.OK),
        }) if deployer.app_id else None), status=status.status)
    else:
        self.send_response(handle, connection, None, status=status.status)

dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py CalvinControl.handle_deploy_cb/VarMisuse@54/67 `handle`->`status`