)]}'
{"troveclient/apiclient/client.py":[{"author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"change_message_id":"206c1735815d047822f8b2fda3da45a869ea78f0","unresolved":false,"context_lines":[{"line_number":128,"context_line":"    def serialize(self, kwargs):"},{"line_number":129,"context_line":"        if kwargs.get(\u0027json\u0027) is not None:"},{"line_number":130,"context_line":"            kwargs[\u0027headers\u0027][\u0027Content-Type\u0027] \u003d \u0027application/json\u0027"},{"line_number":131,"context_line":"            kwargs[\u0027data\u0027] \u003d jsonutils.dumps(kwargs[\u0027json\u0027])"},{"line_number":132,"context_line":"        try:"},{"line_number":133,"context_line":"            del kwargs[\u0027json\u0027]"},{"line_number":134,"context_line":"        except KeyError:"}],"source_content_type":"text/x-python","patch_set":4,"id":"7faddb67_c84aa181","line":131,"range":{"start_line":131,"start_character":39,"end_line":131,"end_character":44},"updated":"2019-09-03 11:29:15.000000000","message":"It is better to  update dumps with dump_as_bytes to ensure that the result type is bytes on both Python 2 and Python 3.\n\nPlease see the reference for detail: https://docs.openstack.org/oslo.serialization/latest/reference/index.html#oslo_serialization.jsonutils.dump_as_bytes","commit_id":"bab7bc401b88d1db017806dffcecb8108d3ebc5a"}]}
