)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"4b859920e825ab94199a0159a4e11849eb9c4695","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"a5a79b9b_74a2cbb7","updated":"2022-06-13 14:34:04.000000000","message":"Release note 😊","commit_id":"1dff329502838497e146876b3e4bb22c824bd402"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"231fb2e0eb362f6f9e43687ae3a85990ddff37c5","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"ca4ab955_71ca89a9","in_reply_to":"a5a79b9b_74a2cbb7","updated":"2022-06-13 16:11:32.000000000","message":"done","commit_id":"1dff329502838497e146876b3e4bb22c824bd402"}],"cloudkittyclient/v2/scope.py":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"c1d0eef46d283d2524133b3e3893d4bed77e3f0f","unresolved":true,"context_lines":[{"line_number":107,"context_line":"        \"\"\"Update storage scope"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        The `scope_id field` is mandatory, and all other are optional. Only the"},{"line_number":110,"context_line":"        attributes sent will be updated. The attributes that are not send will"},{"line_number":111,"context_line":"        not be changed in the backend."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"        :param collector: collector to be used by the scope."}],"source_content_type":"text/x-python","patch_set":3,"id":"5cf4eee9_57e58c1f","line":110,"range":{"start_line":110,"start_character":69,"end_line":110,"end_character":73},"updated":"2022-06-27 14:32:09.000000000","message":"sent","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"effacb298c9d3f87432143fff308eb56feb37fad","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        \"\"\"Update storage scope"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"        The `scope_id field` is mandatory, and all other are optional. Only the"},{"line_number":110,"context_line":"        attributes sent will be updated. The attributes that are not send will"},{"line_number":111,"context_line":"        not be changed in the backend."},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"        :param collector: collector to be used by the scope."}],"source_content_type":"text/x-python","patch_set":3,"id":"bd62b32b_2f799927","line":110,"range":{"start_line":110,"start_character":69,"end_line":110,"end_character":73},"in_reply_to":"5cf4eee9_57e58c1f","updated":"2022-06-27 14:40:50.000000000","message":"Done","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"c1d0eef46d283d2524133b3e3893d4bed77e3f0f","unresolved":true,"context_lines":[{"line_number":114,"context_line":"        :type collector: str"},{"line_number":115,"context_line":"        :param fetcher: fetcher to be used by the scope."},{"line_number":116,"context_line":"        :type fetcher: str"},{"line_number":117,"context_line":"        :param scope_id: Mandatory scope_id to execute the update."},{"line_number":118,"context_line":"        :type scope_id: str"},{"line_number":119,"context_line":"        :param scope_key: scope_key to be used by the scope."},{"line_number":120,"context_line":"        :type scope_key: str"}],"source_content_type":"text/x-python","patch_set":3,"id":"461a68d7_78a87320","line":117,"range":{"start_line":117,"start_character":25,"end_line":117,"end_character":65},"updated":"2022-06-27 14:32:09.000000000","message":"Simpler: Mandatory scope_id to update.","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"effacb298c9d3f87432143fff308eb56feb37fad","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        :type collector: str"},{"line_number":115,"context_line":"        :param fetcher: fetcher to be used by the scope."},{"line_number":116,"context_line":"        :type fetcher: str"},{"line_number":117,"context_line":"        :param scope_id: Mandatory scope_id to execute the update."},{"line_number":118,"context_line":"        :type scope_id: str"},{"line_number":119,"context_line":"        :param scope_key: scope_key to be used by the scope."},{"line_number":120,"context_line":"        :type scope_key: str"}],"source_content_type":"text/x-python","patch_set":3,"id":"9489f2c6_6a8e5a45","line":117,"range":{"start_line":117,"start_character":25,"end_line":117,"end_character":65},"in_reply_to":"461a68d7_78a87320","updated":"2022-06-27 14:40:50.000000000","message":"Done","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"c1d0eef46d283d2524133b3e3893d4bed77e3f0f","unresolved":true,"context_lines":[{"line_number":135,"context_line":"        if kwargs.get(\u0027active\u0027):"},{"line_number":136,"context_line":"            body[\u0027active\u0027] \u003d strtobool(kwargs.get(\u0027active\u0027))"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Stripping None and False values"},{"line_number":139,"context_line":"        body \u003d dict(filter("},{"line_number":140,"context_line":"            lambda elem: bool(elem[1]) or elem[1] \u003d\u003d 0, body.items()))"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        url \u003d self.get_url(None, kwargs)"},{"line_number":143,"context_line":"        return self.api_client.patch(url, json\u003dbody).json()"}],"source_content_type":"text/x-python","patch_set":3,"id":"1b9d3059_42bc2d21","line":140,"range":{"start_line":138,"start_character":0,"end_line":140,"end_character":70},"updated":"2022-06-27 14:32:09.000000000","message":"Not sure exactly what you are doing here.\n\nThis doesn\u0027t remove False values, because apparently False \u003d\u003d 0.","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"effacb298c9d3f87432143fff308eb56feb37fad","unresolved":true,"context_lines":[{"line_number":135,"context_line":"        if kwargs.get(\u0027active\u0027):"},{"line_number":136,"context_line":"            body[\u0027active\u0027] \u003d strtobool(kwargs.get(\u0027active\u0027))"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Stripping None and False values"},{"line_number":139,"context_line":"        body \u003d dict(filter("},{"line_number":140,"context_line":"            lambda elem: bool(elem[1]) or elem[1] \u003d\u003d 0, body.items()))"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        url \u003d self.get_url(None, kwargs)"},{"line_number":143,"context_line":"        return self.api_client.patch(url, json\u003dbody).json()"}],"source_content_type":"text/x-python","patch_set":3,"id":"5fc03cc2_75b5e6d0","line":140,"range":{"start_line":138,"start_character":0,"end_line":140,"end_character":70},"in_reply_to":"1b9d3059_42bc2d21","updated":"2022-06-27 14:40:50.000000000","message":"I am removing all Nones. The comment is misleading. I just fixed it. We need to be able to change between False/True for the inactive field.","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"e4a68c17c98abdf42d22604997b4ad25e0540e8f","unresolved":false,"context_lines":[{"line_number":135,"context_line":"        if kwargs.get(\u0027active\u0027):"},{"line_number":136,"context_line":"            body[\u0027active\u0027] \u003d strtobool(kwargs.get(\u0027active\u0027))"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Stripping None and False values"},{"line_number":139,"context_line":"        body \u003d dict(filter("},{"line_number":140,"context_line":"            lambda elem: bool(elem[1]) or elem[1] \u003d\u003d 0, body.items()))"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        url \u003d self.get_url(None, kwargs)"},{"line_number":143,"context_line":"        return self.api_client.patch(url, json\u003dbody).json()"}],"source_content_type":"text/x-python","patch_set":3,"id":"dbde973d_eaaccc7e","line":140,"range":{"start_line":138,"start_character":0,"end_line":140,"end_character":70},"in_reply_to":"5f1be544_3f0fdb64","updated":"2022-08-08 13:50:00.000000000","message":"Done","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"4e8ded3488a77299aa587318fe667efe5c1ebf47","unresolved":true,"context_lines":[{"line_number":135,"context_line":"        if kwargs.get(\u0027active\u0027):"},{"line_number":136,"context_line":"            body[\u0027active\u0027] \u003d strtobool(kwargs.get(\u0027active\u0027))"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"        # Stripping None and False values"},{"line_number":139,"context_line":"        body \u003d dict(filter("},{"line_number":140,"context_line":"            lambda elem: bool(elem[1]) or elem[1] \u003d\u003d 0, body.items()))"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        url \u003d self.get_url(None, kwargs)"},{"line_number":143,"context_line":"        return self.api_client.patch(url, json\u003dbody).json()"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f1be544_3f0fdb64","line":140,"range":{"start_line":138,"start_character":0,"end_line":140,"end_character":70},"in_reply_to":"5fc03cc2_75b5e6d0","updated":"2022-08-08 13:30:45.000000000","message":"Then I don\u0027t understand why you are not using:\n\ndict(filter(lambda elem: elem[1] is not None, body.items()))\n\n\u003e\u003e\u003e body\n{\u0027a\u0027: True, \u0027b\u0027: False, \u0027c\u0027: None}\n\u003e\u003e\u003e dict(filter(lambda elem: elem[1] is not None, body.items()))\n{\u0027a\u0027: True, \u0027b\u0027: False}","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"}],"releasenotes/notes/add-patch-scope-support-04c408f982d7d352.yaml":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"e1ccb3bd3dfa976eb01ba40b6960058a3229e568","unresolved":true,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Introduce the patch scope API in the CLI"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"ffb6e31f_2b60cc88","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":44},"updated":"2022-06-27 14:32:34.000000000","message":"Please show the new command or CLI option.","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"4f7d249bef7a2751d653fa870c7350caeaab9c5f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Introduce the patch scope API in the CLI"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"32423d57_c0808c43","line":4,"range":{"start_line":4,"start_character":4,"end_line":4,"end_character":44},"in_reply_to":"ffb6e31f_2b60cc88","updated":"2022-06-27 14:43:21.000000000","message":"Done","commit_id":"6fbc9f1addadd0c8b2b3dcadc7d60eceafc34e18"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"4e8ded3488a77299aa587318fe667efe5c1ebf47","unresolved":true,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Introduce the patch scope API in the CLI. The command \"rating scope "},{"line_number":5,"context_line":"    patch\" is added to the OpenStack CLI with this patch, and the command "},{"line_number":6,"context_line":"    \"scope patch\" is added to the CloudKitty python client."}],"source_content_type":"text/x-yaml","patch_set":5,"id":"3d847313_b884db1d","line":6,"range":{"start_line":4,"start_character":0,"end_line":6,"end_character":59},"updated":"2022-08-08 13:30:45.000000000","message":"Please remove trailing whitespace.","commit_id":"bc5ea771a1a08593f9969889d4a1d7a2618c9650"},{"author":{"_account_id":28356,"name":"Rafael Weingartner","email":"rafael@apache.org","username":"rafaelweingartner"},"change_message_id":"e4a68c17c98abdf42d22604997b4ad25e0540e8f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Introduce the patch scope API in the CLI. The command \"rating scope "},{"line_number":5,"context_line":"    patch\" is added to the OpenStack CLI with this patch, and the command "},{"line_number":6,"context_line":"    \"scope patch\" is added to the CloudKitty python client."}],"source_content_type":"text/x-yaml","patch_set":5,"id":"fb1801c3_4fe1fb2c","line":6,"range":{"start_line":4,"start_character":0,"end_line":6,"end_character":59},"in_reply_to":"3d847313_b884db1d","updated":"2022-08-08 13:50:00.000000000","message":"Done","commit_id":"bc5ea771a1a08593f9969889d4a1d7a2618c9650"}]}
