)]}'
{"monasca/v2/reference/notifications.py":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"2ee862be17a2db648616aaccb08ce81ef2eef6ab","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        tenant_id \u003d helpers.get_tenant_id(req)"},{"line_number":150,"context_line":"        result \u003d self._list_notifications(tenant_id, req.uri)"},{"line_number":151,"context_line":"        res.body \u003d json.dumps(result, ensure_ascii\u003dFalse).encode(\u0027utf8\u0027)"},{"line_number":152,"context_line":"        res.status \u003d falcon.HTTP_200"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    @resource_api.Restify(\u0027/v2.0/notification-methods/{id}\u0027, method\u003d\u0027delete\u0027)"},{"line_number":155,"context_line":"    def do_delete_notification_methods(self, req, res, id):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_fc9daa5a","line":152,"updated":"2014-12-16 20:52:33.000000000","message":"At some point you should create a helper method that does the json.dumps and sets the status in the response. It gets ugly seeing the ensure_ascii\u003dFalse).encode(\u0027utf8\u0027) repeated so often","commit_id":"ebbe74a901a7ee908dfca00f1aef8759aa96806d"}]}
