)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c2aa5c5e78fae2d5263e4df5d3a84f5395200aee","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"1ebb793f_a93ad54c","updated":"2026-11-19 13:10:38.000000000","message":"hi Stephen, thank you for review, I have made changes as per suggestion.","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"}],"openstack/image/image_signer.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"6dd230f04ed1626ce4b4b0c1d1b3bcaf19ffa286","unresolved":true,"context_lines":[{"line_number":58,"context_line":"    \"\"\""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def __init__("},{"line_number":61,"context_line":"        self,"},{"line_number":62,"context_line":"        hash_method: str \u003d \u0027SHA-256\u0027,"},{"line_number":63,"context_line":"        signature_algorithm: str | None \u003d None,"},{"line_number":64,"context_line":"        *,"},{"line_number":65,"context_line":"        padding_method: str | None \u003d None,"},{"line_number":66,"context_line":"    ) -\u003e None:"},{"line_number":67,"context_line":"        if signature_algorithm is None:"},{"line_number":68,"context_line":"            signature_algorithm \u003d padding_method or RSA_PSS"}],"source_content_type":"text/x-python","patch_set":1,"id":"a4975477_01779c55","line":65,"range":{"start_line":61,"start_character":13,"end_line":65,"end_character":42},"updated":"2026-11-19 09:41:40.000000000","message":"You\u0027re keeping `padding` method here for compatibility, but you\u0027re already breaking compat by moving this to kwarg-only. How about we make `signature_algorithm` kwarg-only and deprecate `padding_method` for removal in 5.0? If it\u0027s set to non-`None` value, issue the warning.","commit_id":"e354470b33b8ee9510866347475e64ed7ccee6aa"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c374ec9277bb2ba613674c8aa4266fae45929dca","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    \"\"\""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def __init__("},{"line_number":61,"context_line":"        self,"},{"line_number":62,"context_line":"        hash_method: str \u003d \u0027SHA-256\u0027,"},{"line_number":63,"context_line":"        signature_algorithm: str | None \u003d None,"},{"line_number":64,"context_line":"        *,"},{"line_number":65,"context_line":"        padding_method: str | None \u003d None,"},{"line_number":66,"context_line":"    ) -\u003e None:"},{"line_number":67,"context_line":"        if signature_algorithm is None:"},{"line_number":68,"context_line":"            signature_algorithm \u003d padding_method or RSA_PSS"}],"source_content_type":"text/x-python","patch_set":1,"id":"30a38743_7b272ff8","line":65,"range":{"start_line":61,"start_character":13,"end_line":65,"end_character":42},"in_reply_to":"a4975477_01779c55","updated":"2026-11-19 09:51:32.000000000","message":"Ack, I will make signature_algorithm keyword only. I will keep padding_method only for backward compatibility and show deprecation warning if user set it.","commit_id":"e354470b33b8ee9510866347475e64ed7ccee6aa"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"781ba2c4bde2ab4774b9025066afa1a60ccde132","unresolved":true,"context_lines":[{"line_number":22,"context_line":"from cryptography.hazmat.primitives import serialization"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"from openstack import exceptions"},{"line_number":25,"context_line":"from openstack.image.iterable_chunked_file import IterableChunkedFile"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"HASH_METHODS \u003d {"},{"line_number":28,"context_line":"    \u0027SHA-224\u0027: hashes.SHA224(),"}],"source_content_type":"text/x-python","patch_set":2,"id":"31f020c6_8dd94ec0","line":25,"updated":"2026-11-19 11:23:11.000000000","message":"```suggestion\nfrom openstack.image.iterable_chunked_file import IterableChunkedFile\nfrom openstack import warnings as os_warnings\n```","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c2aa5c5e78fae2d5263e4df5d3a84f5395200aee","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from cryptography.hazmat.primitives import serialization"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"from openstack import exceptions"},{"line_number":25,"context_line":"from openstack.image.iterable_chunked_file import IterableChunkedFile"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"HASH_METHODS \u003d {"},{"line_number":28,"context_line":"    \u0027SHA-224\u0027: hashes.SHA224(),"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff001f07_6d2356ce","line":25,"in_reply_to":"31f020c6_8dd94ec0","updated":"2026-11-19 13:10:38.000000000","message":"Done","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"781ba2c4bde2ab4774b9025066afa1a60ccde132","unresolved":true,"context_lines":[{"line_number":36,"context_line":"ML_DSA_65 \u003d \u0027ML-DSA-65\u0027"},{"line_number":37,"context_line":"ML_DSA_87 \u003d \u0027ML-DSA-87\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"SIGNATURE_ALGORITHMS \u003d {"},{"line_number":40,"context_line":"    RSA_PSS: rsa.RSAPrivateKey,"},{"line_number":41,"context_line":"    ML_DSA_44: mldsa.MLDSA44PrivateKey,"},{"line_number":42,"context_line":"    ML_DSA_65: mldsa.MLDSA65PrivateKey,"}],"source_content_type":"text/x-python","patch_set":2,"id":"e4a91628_506e4859","line":39,"updated":"2026-11-19 11:23:11.000000000","message":"this one needs checking, but I suspect we want e.g.\n\n```suggestion\nSIGNATURE_ALGORITHMS: Final \u003d {\n```\n\nwith the import of `final` from `typing`\n\n(we can change this to a `frozendict` in the future)","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c2aa5c5e78fae2d5263e4df5d3a84f5395200aee","unresolved":false,"context_lines":[{"line_number":36,"context_line":"ML_DSA_65 \u003d \u0027ML-DSA-65\u0027"},{"line_number":37,"context_line":"ML_DSA_87 \u003d \u0027ML-DSA-87\u0027"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"SIGNATURE_ALGORITHMS \u003d {"},{"line_number":40,"context_line":"    RSA_PSS: rsa.RSAPrivateKey,"},{"line_number":41,"context_line":"    ML_DSA_44: mldsa.MLDSA44PrivateKey,"},{"line_number":42,"context_line":"    ML_DSA_65: mldsa.MLDSA65PrivateKey,"}],"source_content_type":"text/x-python","patch_set":2,"id":"04a30a27_36098c6c","line":39,"in_reply_to":"e4a91628_506e4859","updated":"2026-11-19 13:10:38.000000000","message":"Done","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"781ba2c4bde2ab4774b9025066afa1a60ccde132","unresolved":true,"context_lines":[{"line_number":59,"context_line":"    \"\"\""},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    def __init__("},{"line_number":62,"context_line":"        self,"},{"line_number":63,"context_line":"        hash_method: str \u003d \u0027SHA-256\u0027,"},{"line_number":64,"context_line":"        *,"},{"line_number":65,"context_line":"        signature_algorithm: str | None \u003d None,"},{"line_number":66,"context_line":"        padding_method: str | None \u003d None,"},{"line_number":67,"context_line":"    ) -\u003e None:"},{"line_number":68,"context_line":"        if padding_method is not None:"},{"line_number":69,"context_line":"            warnings.warn("}],"source_content_type":"text/x-python","patch_set":2,"id":"07a66383_d1359247","line":66,"range":{"start_line":62,"start_character":13,"end_line":66,"end_character":42},"updated":"2026-11-19 11:23:11.000000000","message":"Sorry that I wasn\u0027t clear. I was suggesting this:\n\n```suggestion\n        self,\n        hash_method: str \u003d \u0027SHA-256\u0027,\n        padding_method: str | None \u003d None,\n        *,\n        signature_algorithm: str | None \u003d None,\n```","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c2aa5c5e78fae2d5263e4df5d3a84f5395200aee","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    \"\"\""},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    def __init__("},{"line_number":62,"context_line":"        self,"},{"line_number":63,"context_line":"        hash_method: str \u003d \u0027SHA-256\u0027,"},{"line_number":64,"context_line":"        *,"},{"line_number":65,"context_line":"        signature_algorithm: str | None \u003d None,"},{"line_number":66,"context_line":"        padding_method: str | None \u003d None,"},{"line_number":67,"context_line":"    ) -\u003e None:"},{"line_number":68,"context_line":"        if padding_method is not None:"},{"line_number":69,"context_line":"            warnings.warn("}],"source_content_type":"text/x-python","patch_set":2,"id":"6d1b7ae3_ef277574","line":66,"range":{"start_line":62,"start_character":13,"end_line":66,"end_character":42},"in_reply_to":"07a66383_d1359247","updated":"2026-11-19 13:10:38.000000000","message":"Done","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"781ba2c4bde2ab4774b9025066afa1a60ccde132","unresolved":true,"context_lines":[{"line_number":68,"context_line":"        if padding_method is not None:"},{"line_number":69,"context_line":"            warnings.warn("},{"line_number":70,"context_line":"                \u0027padding_method is deprecated; use signature_algorithm\u0027,"},{"line_number":71,"context_line":"                DeprecationWarning,"},{"line_number":72,"context_line":"                stacklevel\u003d2,"},{"line_number":73,"context_line":"            )"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"340a4941_4d56e398","line":71,"updated":"2026-11-19 11:23:11.000000000","message":"```suggestion\n                os_warnings.RemovedInSDK50Warning,\n```","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"c2aa5c5e78fae2d5263e4df5d3a84f5395200aee","unresolved":false,"context_lines":[{"line_number":68,"context_line":"        if padding_method is not None:"},{"line_number":69,"context_line":"            warnings.warn("},{"line_number":70,"context_line":"                \u0027padding_method is deprecated; use signature_algorithm\u0027,"},{"line_number":71,"context_line":"                DeprecationWarning,"},{"line_number":72,"context_line":"                stacklevel\u003d2,"},{"line_number":73,"context_line":"            )"},{"line_number":74,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"2af7e485_21bd26c4","line":71,"in_reply_to":"340a4941_4d56e398","updated":"2026-11-19 13:10:38.000000000","message":"Done","commit_id":"03471ce6a07e67f0dca169abf54e93c6dd9ba310"}]}
