)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"e98c02e34c5a274fb1efedbd1f5a6d56dbb74c6d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":13,"id":"2dad5ee5_815e5e2a","updated":"2025-07-10 17:05:06.000000000","message":"I see the linked but was resolved by https://review.opendev.org/c/openstack/zaqar/+/164671 and this has had no update for very long time. So I\u0027ll abandon this change now. feel free to reopen this in case you resume this work.","commit_id":"826004d58465ccf75302a339ceadbe14db32dd55"}],"zaqar/common/decorators.py":[{"author":{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},"change_message_id":"33f5ebc515d7af70f6f3d07b6f1940b32945aafc","unresolved":false,"context_lines":[{"line_number":208,"context_line":""},{"line_number":209,"context_line":"        # Validation of UUIDs"},{"line_number":210,"context_line":"        uuid_parameters \u003d [\u0027client_uuid\u0027, \u0027message_id\u0027, \u0027claim\u0027, ]"},{"line_number":211,"context_line":"        for i in set(argval.keys()) \u0026 set(uuid_parameters):"},{"line_number":212,"context_line":"            if not isinstance(argval[i], uuid.UUID):"},{"line_number":213,"context_line":"                try:"},{"line_number":214,"context_line":"                    uuid.UUID(argval[i])"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a26ad4f_791c68c1","line":211,"updated":"2015-10-29 17:06:43.000000000","message":"I feel like this line is a little complex, and you only ever use [i] to access the value in the dictionary. \n\nHow does this look to you:\n\nfor arg_name, value in argval.items():\n  if not isinstance(value, uuid.UUID) and arg_name in uuid_parameters:\n    try ........\n\nThat way you don\u0027t need to do \"argval[i]\" when trying the cast, and your filter parameters are separated from your iterations","commit_id":"19a72dabd969e691ead242f85bcee023644a6aa9"},{"author":{"_account_id":12321,"name":"Ryan Brown","email":"rybrown@redhat.com","username":"ryansb"},"change_message_id":"33f5ebc515d7af70f6f3d07b6f1940b32945aafc","unresolved":false,"context_lines":[{"line_number":213,"context_line":"                try:"},{"line_number":214,"context_line":"                    uuid.UUID(argval[i])"},{"line_number":215,"context_line":"                except ValueError:"},{"line_number":216,"context_line":"                    if i \u003d\u003d \u0027claims\u0027 and argval[i] \u003d\u003d \u0027None\u0027:"},{"line_number":217,"context_line":"                        pass"},{"line_number":218,"context_line":"                    else:"},{"line_number":219,"context_line":"                        raise StorageError.UUIDInvalid(i)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1a26ad4f_59788cf2","line":216,"updated":"2015-10-29 17:06:43.000000000","message":"Why \u0027None\u0027 rather than checking for the actual None type?","commit_id":"19a72dabd969e691ead242f85bcee023644a6aa9"}]}
