)]}'
{"openstackclient/accelerator/client.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"54f9b18a70122c1cc1889ca26d4eee74e722254c","unresolved":true,"context_lines":[{"line_number":19,"context_line":"from openstackclient.i18n import _"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"DEFAULT_API_VERSION \u003d \u00272.3\u0027"},{"line_number":24,"context_line":"API_VERSION_OPTION \u003d \u0027os_accelerator_api_version\u0027"},{"line_number":25,"context_line":"API_NAME \u003d \u0027accelerator\u0027"},{"line_number":26,"context_line":"API_VERSIONS \u003d (\u00272\u0027,)"}],"source_content_type":"text/x-python","patch_set":1,"id":"25af1d71_7fa7aa31","line":23,"range":{"start_line":22,"start_character":1,"end_line":23,"end_character":27},"updated":"2026-10-21 12:04:02.000000000","message":"I don\u0027t have an env with cyborg installed in to test this, but I\u0027m pretty sure this is wrong. API version negotiation should be handled by SDK, which will attempt to use the value provided by the user (via `--os-accelerator-api-version`) first, then fall back to the version encoded by `_max_microversion` in the resource, and finally use this value as a last resort if neither of the above is provided. I think we\u0027ve missed adding `_max_microversion` to the `Device` class and I don\u0027t see it [`accelerator/v2/device.py`](https://github.com/openstack/openstacksdk/blob/77190c132d191eb7872ec8d7d8c581b54a1915e9/openstack/accelerator/v2/device.py).\n\nCould try adding that attribute and see if you get the expected behavior?","commit_id":"d16123199d82f193617a7049821140236d08a568"},{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"aa12071d8c5b05bcde752e71270b2197af151663","unresolved":true,"context_lines":[{"line_number":19,"context_line":"from openstackclient.i18n import _"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"DEFAULT_API_VERSION \u003d \u00272.3\u0027"},{"line_number":24,"context_line":"API_VERSION_OPTION \u003d \u0027os_accelerator_api_version\u0027"},{"line_number":25,"context_line":"API_NAME \u003d \u0027accelerator\u0027"},{"line_number":26,"context_line":"API_VERSIONS \u003d (\u00272\u0027,)"}],"source_content_type":"text/x-python","patch_set":1,"id":"346770bc_4f5f4d1b","line":23,"range":{"start_line":22,"start_character":1,"end_line":23,"end_character":27},"in_reply_to":"25af1d71_7fa7aa31","updated":"2026-10-22 21:21:24.000000000","message":"Thanks for this. I am trying out `_max_microversion` changes at https://review.opendev.org/c/openstack/openstacksdk/+/1011952","commit_id":"d16123199d82f193617a7049821140236d08a568"}]}
