)]}'
{"gnocchi/indexer/__init__.py":[{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"b03e1ea194f9f02f5a38f652e9d9fcd623b1ef07","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            if m.name \u003d\u003d metric_name:"},{"line_number":41,"context_line":"                # NOTE(jd) Does this trigger an update?"},{"line_number":42,"context_line":"                # We have to do that to fake that the resource was loaded."},{"line_number":43,"context_line":"                m.resource \u003d self"},{"line_number":44,"context_line":"                return m"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def __eq__(self, other):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3ab451fb_5479a2fb","line":43,"updated":"2015-04-17 08:55:21.000000000","message":"We can just do:\n\n m.resource\n\nto force sqlalchemy to fill this for us, because this resource and this metric come from the same sqlalchemy session, so sqlalchemy doesn\u0027t make any additional query to full this.","commit_id":"2b6efcaa09bcf1cbe6f18fa6896f15f04dd69bd3"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"9b262335502f42f25aaaf3c875048524205f5a1c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            if m.name \u003d\u003d metric_name:"},{"line_number":41,"context_line":"                # NOTE(jd) Does this trigger an update?"},{"line_number":42,"context_line":"                # We have to do that to fake that the resource was loaded."},{"line_number":43,"context_line":"                m.resource \u003d self"},{"line_number":44,"context_line":"                return m"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def __eq__(self, other):"}],"source_content_type":"text/x-python","patch_set":3,"id":"3ab451fb_77e260a1","line":43,"in_reply_to":"3ab451fb_5479a2fb","updated":"2015-04-17 09:21:59.000000000","message":"awesome, thanks for the tip!","commit_id":"2b6efcaa09bcf1cbe6f18fa6896f15f04dd69bd3"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"c9738f9bcc8e904647e77e8989c7fe13573a0ff2","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            if m.name \u003d\u003d metric_name:"},{"line_number":41,"context_line":"                # NOTE(jd) Does this trigger an update?"},{"line_number":42,"context_line":"                # We have to do that to fake that the resource was loaded."},{"line_number":43,"context_line":"                m.resource \u003d self"},{"line_number":44,"context_line":"                return m"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def __eq__(self, other):"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_82b92c31","line":43,"updated":"2015-04-17 09:29:59.000000000","message":"Still present ?","commit_id":"11ff1c21c92c2607b6aa69b4d7f3f43cb117c6a4"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"0715956dae1190d6fb6962cdb1a748aaaf285b3c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"            if m.name \u003d\u003d metric_name:"},{"line_number":41,"context_line":"                # NOTE(jd) Does this trigger an update?"},{"line_number":42,"context_line":"                # We have to do that to fake that the resource was loaded."},{"line_number":43,"context_line":"                m.resource \u003d self"},{"line_number":44,"context_line":"                return m"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def __eq__(self, other):"}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_e2e11000","line":43,"in_reply_to":"3ab451fb_82b92c31","updated":"2015-04-17 09:37:32.000000000","message":"EMACS FAILURE","commit_id":"11ff1c21c92c2607b6aa69b4d7f3f43cb117c6a4"}],"gnocchi/indexer/sqlalchemy_base.py":[{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"c9738f9bcc8e904647e77e8989c7fe13573a0ff2","unresolved":false,"context_lines":[{"line_number":235,"context_line":"        m \u003d super(Resource, self).get_metric(metric_name)"},{"line_number":236,"context_line":"        # NOTE(jd) Force the load of the resource – it\u0027s in the same session so"},{"line_number":237,"context_line":"        # it won\u0027t do any new request said sileht"},{"line_number":238,"context_line":"        m.resource"},{"line_number":239,"context_line":"        return m"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_027cfc70","line":238,"updated":"2015-04-17 09:29:59.000000000","message":"This parent class can return None","commit_id":"11ff1c21c92c2607b6aa69b4d7f3f43cb117c6a4"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"0715956dae1190d6fb6962cdb1a748aaaf285b3c","unresolved":false,"context_lines":[{"line_number":235,"context_line":"        m \u003d super(Resource, self).get_metric(metric_name)"},{"line_number":236,"context_line":"        # NOTE(jd) Force the load of the resource – it\u0027s in the same session so"},{"line_number":237,"context_line":"        # it won\u0027t do any new request said sileht"},{"line_number":238,"context_line":"        m.resource"},{"line_number":239,"context_line":"        return m"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"3ab451fb_a2e4280d","line":238,"in_reply_to":"3ab451fb_027cfc70","updated":"2015-04-17 09:37:32.000000000","message":"Ah shit.","commit_id":"11ff1c21c92c2607b6aa69b4d7f3f43cb117c6a4"}],"gnocchi/json.py":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"d5ffaa99d320bc5f963251d2166d5a05dc0f1664","unresolved":false,"context_lines":[{"line_number":44,"context_line":"def dumps(obj, *args, **kwargs):"},{"line_number":45,"context_line":"    return jsonutils.dumps(obj, default\u003dto_primitive)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# For convenience"},{"line_number":48,"context_line":"loads \u003d jsonutils.loads"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aa745d1_f979ae30","line":47,"updated":"2015-04-16 18:10:53.000000000","message":"Is this relevant for this change?","commit_id":"eb9b3ccfbf0a45432ba3986ef30dec39cbcd32cc"}]}
