)]}'
{"nova/api/openstack/compute/quota_classes.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"7069177feb00d2e63a3ab2b29f2d258752adb6bc","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    def __init__(self, **kwargs):"},{"line_number":42,"context_line":"        self.supported_quotas \u003d QUOTAS.resources"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        for resource, extension in EXTENDED_QUOTAS.items():"},{"line_number":45,"context_line":"            self.supported_quotas.remove(resource)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _format_quota_set(self, quota_class, quota_set):"},{"line_number":48,"context_line":"        \"\"\"Convert the quota object to a result dict.\"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_e47e75e2","line":45,"range":{"start_line":44,"start_character":0,"end_line":45,"end_character":50},"updated":"2017-03-29 14:55:40.000000000","message":"If \u0027extensions_info\u0027 truly was empty, doesn\u0027t this mean we won\u0027t ever load those extended quotas and should therefore remove all code associated with them?","commit_id":"7546dbb5ac0101097f549c111bee435002346cb4"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"c85a4606a2d0f6c03b963ea907e65a2ba8da2452","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    def __init__(self, **kwargs):"},{"line_number":42,"context_line":"        self.supported_quotas \u003d QUOTAS.resources"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        for resource, extension in EXTENDED_QUOTAS.items():"},{"line_number":45,"context_line":"            self.supported_quotas.remove(resource)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _format_quota_set(self, quota_class, quota_set):"},{"line_number":48,"context_line":"        \"\"\"Convert the quota object to a result dict.\"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"dfeb2761_6a538218","line":45,"range":{"start_line":44,"start_character":0,"end_line":45,"end_character":50},"in_reply_to":"ffe62b97_e47e75e2","updated":"2017-04-05 10:45:47.000000000","message":"we need to remove server_groups and server_group_members as this is returned from db quota layer but not returned in API layer in v2\n\nwe need a microversion to add this into output, will file a bp for it","commit_id":"7546dbb5ac0101097f549c111bee435002346cb4"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"6fe6f6e589da40c6bbf6cb0c00fb9e4efa513ace","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        self.supported_quotas \u003d QUOTAS.resources"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        for resource, extension in EXTENDED_QUOTAS.items():"},{"line_number":45,"context_line":"            self.supported_quotas.remove(resource)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _format_quota_set(self, quota_class, quota_set):"},{"line_number":48,"context_line":"        \"\"\"Convert the quota object to a result dict.\"\"\""}],"source_content_type":"text/x-python","patch_set":3,"id":"7ffa3b31_fbc14882","line":45,"updated":"2017-04-14 05:17:29.000000000","message":"you shouldn\u0027t remove those, right?","commit_id":"5d6bfb1b7f1297c02f93bf6770ebf76e6b7211ec"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"6fe6f6e589da40c6bbf6cb0c00fb9e4efa513ace","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        else:"},{"line_number":53,"context_line":"            result \u003d {}"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        for resource in self.supported_quotas:"},{"line_number":56,"context_line":"            if resource in quota_set:"},{"line_number":57,"context_line":"                result[resource] \u003d quota_set[resource]"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7ffa3b31_dbbe8cfe","line":55,"range":{"start_line":55,"start_character":24,"end_line":55,"end_character":46},"updated":"2017-04-14 05:17:29.000000000","message":"we can use QUOTAS.resources at here directly.","commit_id":"5d6bfb1b7f1297c02f93bf6770ebf76e6b7211ec"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"436187c0dcc0f61fe66010529d3a874b6032f95e","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        else:"},{"line_number":53,"context_line":"            result \u003d {}"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        for resource in self.supported_quotas:"},{"line_number":56,"context_line":"            if resource in quota_set:"},{"line_number":57,"context_line":"                result[resource] \u003d quota_set[resource]"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7ffa3b31_09ef551e","line":55,"range":{"start_line":55,"start_character":24,"end_line":55,"end_character":46},"in_reply_to":"7ffa3b31_dbbe8cfe","updated":"2017-04-21 08:41:06.000000000","message":"why ? server_group should not returned , why use QUOTAS.resource?","commit_id":"5d6bfb1b7f1297c02f93bf6770ebf76e6b7211ec"}]}
