)]}'
{"placement/objects/resource_provider.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"74d92aab30659706ea7c11db3637abd261a93e21","unresolved":false,"context_lines":[{"line_number":3497,"context_line":"        # also be a Decimal, as that\u0027s the type that mysql tends to return"},{"line_number":3498,"context_line":"        # when func.sum is used in a query. We need an int, otherwise later"},{"line_number":3499,"context_line":"        # JSON serialization will not work."},{"line_number":3500,"context_line":"        used \u003d int(usage[\u0027used\u0027] or 0)"},{"line_number":3501,"context_line":"        allocation_ratio \u003d usage[\u0027allocation_ratio\u0027]"},{"line_number":3502,"context_line":"        cap \u003d int((usage[\u0027total\u0027] - usage[\u0027reserved\u0027]) * allocation_ratio)"},{"line_number":3503,"context_line":"        rc_name \u003d _RC_CACHE.string_from_id(rc_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_f4e204d4","line":3500,"range":{"start_line":3500,"start_character":8,"end_line":3500,"end_character":38},"updated":"2019-02-25 22:24:37.000000000","message":"here.","commit_id":"6976db22da65fe3cceca5964569a7ca9fada9221"}]}
