)]}'
{"cloudkitty/api/v1/controllers/rating.py":[{"author":{"_account_id":15917,"name":"Aaron-DH","email":"344677472@qq.com","username":"aaron"},"change_message_id":"070a5b27af4c09b0a67ed7200f754f6badc38cbb","unresolved":false,"context_lines":[{"line_number":204,"context_line":"            json_data \u003d res.to_json()"},{"line_number":205,"context_line":"            res_dict[res.service].extend(json_data[res.service])"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"        tenant_id \u003d res_data.tenant_id if res_data.tenant_id else None"},{"line_number":208,"context_line":"        res \u003d client.call({}, \u0027quote\u0027,"},{"line_number":209,"context_line":"                          res_data\u003d{\u0027resources\u0027: [{\u0027usage\u0027: res_dict}],"},{"line_number":210,"context_line":"                                    \u0027tenant_id\u0027: tenant_id})"}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_933068a0","line":207,"range":{"start_line":207,"start_character":20,"end_line":207,"end_character":38},"updated":"2017-02-22 01:49:03.000000000","message":"should tenant_id get from the res_data？or get it from api params or request context?","commit_id":"81486017aa84020f3c3189a6fa147dc17fb378c0"},{"author":{"_account_id":7923,"name":"Gauvain Pocentek","email":"gauvainpocentek@gmail.com","username":"gpocentek"},"change_message_id":"94510b22fd488222568cf470ef6570f5553b6c14","unresolved":false,"context_lines":[{"line_number":189,"context_line":"    @wsme_pecan.wsexpose(float,"},{"line_number":190,"context_line":"                         wtypes.text,"},{"line_number":191,"context_line":"                         body\u003drating_models.CloudkittyResourceCollection)"},{"line_number":192,"context_line":"    def quote(self, tenant_id, res_data):"},{"line_number":193,"context_line":"        \"\"\"Get an instant quote based on multiple resource descriptions."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"        :param res_data: List of resource descriptions."}],"source_content_type":"text/x-python","patch_set":4,"id":"5f2577a7_19e741e7","line":192,"updated":"2017-09-12 04:37:44.000000000","message":"I think that tenant_id should be optional, otherwise we are breaking the API compatibility.","commit_id":"599005ac831601d70f375551027908e467f18aaf"}]}
