)]}'
{"nova/objects/instance.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"31382c2e8a039fe3161bcd3351b0d36152d6d08f","unresolved":false,"context_lines":[{"line_number":787,"context_line":"        # does not contains updates of the Columns where onupdate function is"},{"line_number":788,"context_line":"        # defined. So we query the instance again to have a fully updated view"},{"line_number":789,"context_line":"        # on it."},{"line_number":790,"context_line":"        inst_ref \u003d db.instance_get_by_uuid("},{"line_number":791,"context_line":"            context,"},{"line_number":792,"context_line":"            self.uuid,"},{"line_number":793,"context_line":"            columns_to_join\u003d_expected_cols(expected_attrs))"},{"line_number":794,"context_line":"        self._from_db_object(context, self, inst_ref,"},{"line_number":795,"context_line":"                             expected_attrs\u003dexpected_attrs)"},{"line_number":796,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_3d085890","line":793,"range":{"start_line":790,"start_character":8,"end_line":793,"end_character":59},"updated":"2017-07-26 18:23:58.000000000","message":"I\u0027d like to find another way to do this, but not sure how. I really don\u0027t want to have to go back to the database to pull the instance and it\u0027s joined tables here though just to get one field. Maybe there is something we can do in the instance_update_and_get_original method to pull the updated_at field off the instance update operation result and stick it on the inst_ref?","commit_id":"f1d3022f9704439bc1d49612d260377f17a26ec1"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"a472a7bc43633d77b532c07bc93286d2ee6de0e3","unresolved":false,"context_lines":[{"line_number":787,"context_line":"        # does not contains updates of the Columns where onupdate function is"},{"line_number":788,"context_line":"        # defined. So we query the instance again to have a fully updated view"},{"line_number":789,"context_line":"        # on it."},{"line_number":790,"context_line":"        inst_ref \u003d db.instance_get_by_uuid("},{"line_number":791,"context_line":"            context,"},{"line_number":792,"context_line":"            self.uuid,"},{"line_number":793,"context_line":"            columns_to_join\u003d_expected_cols(expected_attrs))"},{"line_number":794,"context_line":"        self._from_db_object(context, self, inst_ref,"},{"line_number":795,"context_line":"                             expected_attrs\u003dexpected_attrs)"},{"line_number":796,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"df3967d1_b2795efd","line":793,"range":{"start_line":790,"start_character":8,"end_line":793,"end_character":59},"in_reply_to":"ff346bd7_3d085890","updated":"2017-08-01 07:06:34.000000000","message":"\u003e I\u0027d like to find another way to do this\n\nI agree with Matt.\nIMO, it is better to fix \u0027update_on_match\u0027 method in oslo.db.","commit_id":"f1d3022f9704439bc1d49612d260377f17a26ec1"}]}
