def delete_policy_of_app(request): app_uuid = request.match_info.get('app_uuid') if Model.delete_policy_by_app_uuid(app_uuid): return web.Response(status=200,body='OK'.encode('utf-8')) return web.Response(status=200,body='Error!'.encode('utf-8'))