)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":30695,"name":"Pedro Henrique Pereira Martins","email":"phpm13@gmail.com","username":"pedrohpmartins"},"change_message_id":"77d2a3d7921f12140aa776d8caee3c328032e495","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"4a6e1235_163012a7","updated":"2022-09-07 18:04:58.000000000","message":"Hello Rafael, thanks for the fix, I have only a nit suggestion.","commit_id":"c0c5e6b862a803082eb40bf19d2014454f005c13"}],"ceilometer/polling/dynamic_pollster.py":[{"author":{"_account_id":30695,"name":"Pedro Henrique Pereira Martins","email":"phpm13@gmail.com","username":"pedrohpmartins"},"change_message_id":"77d2a3d7921f12140aa776d8caee3c328032e495","unresolved":true,"context_lines":[{"line_number":884,"context_line":"    @staticmethod"},{"line_number":885,"context_line":"    def normalize_credentials_to_string(credentials):"},{"line_number":886,"context_line":"        if isinstance(credentials, bytes):"},{"line_number":887,"context_line":"            credentials \u003d credentials.decode()"},{"line_number":888,"context_line":"        else:"},{"line_number":889,"context_line":"            credentials \u003d str(credentials)"},{"line_number":890,"context_line":"        LOG.debug(\"Credentials [%s] were not defined as a string. \""}],"source_content_type":"text/x-python","patch_set":2,"id":"94e3a8ab_b08b0ffd","line":887,"updated":"2022-09-07 18:04:58.000000000","message":"I think here you should explicit the encode \u0027utf-8\u0027, it will help people that do not know the default encode used in python for bytes.","commit_id":"c0c5e6b862a803082eb40bf19d2014454f005c13"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"234cdb3d96db3e8dba9cec3b0eedabee4985f540","unresolved":false,"context_lines":[{"line_number":884,"context_line":"    @staticmethod"},{"line_number":885,"context_line":"    def normalize_credentials_to_string(credentials):"},{"line_number":886,"context_line":"        if isinstance(credentials, bytes):"},{"line_number":887,"context_line":"            credentials \u003d credentials.decode()"},{"line_number":888,"context_line":"        else:"},{"line_number":889,"context_line":"            credentials \u003d str(credentials)"},{"line_number":890,"context_line":"        LOG.debug(\"Credentials [%s] were not defined as a string. \""}],"source_content_type":"text/x-python","patch_set":2,"id":"c3c25603_5fc872a7","line":887,"in_reply_to":"94e3a8ab_b08b0ffd","updated":"2022-09-07 18:42:23.000000000","message":"Done","commit_id":"c0c5e6b862a803082eb40bf19d2014454f005c13"}]}
