)]}'
{"openstack/block_storage/v3/_proxy.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1b5a7a696cde8064b9b1624dc43f1355ef70f9ee","unresolved":true,"context_lines":[{"line_number":499,"context_line":"        :rtype: :class:`~openstack.block_storage.v3.default_types."},{"line_number":500,"context_line":"            DefaultVolumeType`"},{"line_number":501,"context_line":"        \"\"\""},{"line_number":502,"context_line":"        return self._create(_default_types.DefaultVolumeType, **attrs)"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"    def update_default_type(self, default_type, **attrs):"},{"line_number":505,"context_line":"        \"\"\"Update the default volume type for a project"}],"source_content_type":"text/x-python","patch_set":1,"id":"43d2dc53_9c825a79","line":502,"range":{"start_line":502,"start_character":21,"end_line":502,"end_character":27},"updated":"2021-03-15 18:12:28.000000000","message":"\u0027_create\u0027 calls \u0027Resource.create\u0027 [1], which by default uses a \u0027POST\u0027 call to create the new resource instance [2][3], however, the \u0027/default-types\u0027 API uses PUT for both create and update [4]. You can configure this setting the \u0027create_method\u0027 attribute of the Resource, i.e. \u0027DefaultVolumeType\u0027 in the next file\n\n[1] https://github.com/openstack/openstacksdk/blob/0.55.0/openstack/proxy.py#L458-L459\n[2] https://github.com/openstack/openstacksdk/blob/0.55.0/openstack/resource.py#L466\n[3] https://github.com/openstack/openstacksdk/blob/0.55.0/openstack/resource.py#L1329-L1335\n[4] https://docs.openstack.org/api-ref/block-storage/v3/#default-volume-types-default-types\n[5] https://github.com/openstack/openstacksdk/blob/0.55.0/openstack/resource.py#L466","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"aaeeb04941c68f57eecc787b92146d4642ff17a7","unresolved":false,"context_lines":[{"line_number":499,"context_line":"        :rtype: :class:`~openstack.block_storage.v3.default_types."},{"line_number":500,"context_line":"            DefaultVolumeType`"},{"line_number":501,"context_line":"        \"\"\""},{"line_number":502,"context_line":"        return self._create(_default_types.DefaultVolumeType, **attrs)"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"    def update_default_type(self, default_type, **attrs):"},{"line_number":505,"context_line":"        \"\"\"Update the default volume type for a project"}],"source_content_type":"text/x-python","patch_set":1,"id":"c28e1b86_99a4f022","line":502,"range":{"start_line":502,"start_character":21,"end_line":502,"end_character":27},"in_reply_to":"43d2dc53_9c825a79","updated":"2021-04-03 05:44:55.000000000","message":"Done","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1b5a7a696cde8064b9b1624dc43f1355ef70f9ee","unresolved":true,"context_lines":[{"line_number":504,"context_line":"    def update_default_type(self, default_type, **attrs):"},{"line_number":505,"context_line":"        \"\"\"Update the default volume type for a project"},{"line_number":506,"context_line":""},{"line_number":507,"context_line":"        :param volume_type: Name or ID of the volume type"},{"line_number":508,"context_line":"        :param dict attrs: Keyword arguments which will be used to create"},{"line_number":509,"context_line":"            a :class:`~openstack.block_storage.v3.default_types."},{"line_number":510,"context_line":"            DefaultVolumeType` comprised of the properties on the"}],"source_content_type":"text/x-python","patch_set":1,"id":"9d581552_ea0f6323","line":507,"updated":"2021-03-15 18:12:28.000000000","message":"Can\u0027t this be an instance of \u0027DefaultVolumeType\u0027 too?","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1b5a7a696cde8064b9b1624dc43f1355ef70f9ee","unresolved":true,"context_lines":[{"line_number":505,"context_line":"        \"\"\"Update the default volume type for a project"},{"line_number":506,"context_line":""},{"line_number":507,"context_line":"        :param volume_type: Name or ID of the volume type"},{"line_number":508,"context_line":"        :param dict attrs: Keyword arguments which will be used to create"},{"line_number":509,"context_line":"            a :class:`~openstack.block_storage.v3.default_types."},{"line_number":510,"context_line":"            DefaultVolumeType` comprised of the properties on the"},{"line_number":511,"context_line":"            DefaultVolumeType class."}],"source_content_type":"text/x-python","patch_set":1,"id":"9d259b88_f56df9fa","line":508,"range":{"start_line":508,"start_character":67,"end_line":508,"end_character":73},"updated":"2021-03-15 18:12:28.000000000","message":"update?","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"aaeeb04941c68f57eecc787b92146d4642ff17a7","unresolved":false,"context_lines":[{"line_number":505,"context_line":"        \"\"\"Update the default volume type for a project"},{"line_number":506,"context_line":""},{"line_number":507,"context_line":"        :param volume_type: Name or ID of the volume type"},{"line_number":508,"context_line":"        :param dict attrs: Keyword arguments which will be used to create"},{"line_number":509,"context_line":"            a :class:`~openstack.block_storage.v3.default_types."},{"line_number":510,"context_line":"            DefaultVolumeType` comprised of the properties on the"},{"line_number":511,"context_line":"            DefaultVolumeType class."}],"source_content_type":"text/x-python","patch_set":1,"id":"02f45c96_564fa1ff","line":508,"range":{"start_line":508,"start_character":67,"end_line":508,"end_character":73},"in_reply_to":"9d259b88_f56df9fa","updated":"2021-04-03 05:44:55.000000000","message":"Done","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1b5a7a696cde8064b9b1624dc43f1355ef70f9ee","unresolved":true,"context_lines":[{"line_number":508,"context_line":"        :param dict attrs: Keyword arguments which will be used to create"},{"line_number":509,"context_line":"            a :class:`~openstack.block_storage.v3.default_types."},{"line_number":510,"context_line":"            DefaultVolumeType` comprised of the properties on the"},{"line_number":511,"context_line":"            DefaultVolumeType class."},{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        :returns: The updated default volume type."},{"line_number":514,"context_line":"        :rtype: :class:`~openstack.block_storage.v3.default_types."}],"source_content_type":"text/x-python","patch_set":1,"id":"3d809eec_3c51898d","line":511,"updated":"2021-03-15 18:12:28.000000000","message":"This reads weird. Copy-paste mistake?","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1b5a7a696cde8064b9b1624dc43f1355ef70f9ee","unresolved":true,"context_lines":[{"line_number":553,"context_line":"            _default_types.DefaultVolumeType, default_type,"},{"line_number":554,"context_line":"            ignore_missing\u003dignore_missing)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"    def find_default_type(self, name_or_id, ignore_missing\u003dTrue, **attrs):"},{"line_number":557,"context_line":"        \"\"\"Find a single default type"},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"        :param name_or_id: The name or ID of a default volume type."}],"source_content_type":"text/x-python","patch_set":1,"id":"b4b7d288_99ce28a1","line":556,"range":{"start_line":556,"start_character":65,"end_line":556,"end_character":72},"updated":"2021-03-15 18:12:28.000000000","message":"nit: I can see cases of this, but fwict this is _generally_ called \u0027args\u0027. \u0027attrs\u0027 makes more sense for create or update operations where you\u0027re setting/updating an attribute of the resource, whereas this is used for additional arguments to the API.","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"aaeeb04941c68f57eecc787b92146d4642ff17a7","unresolved":false,"context_lines":[{"line_number":553,"context_line":"            _default_types.DefaultVolumeType, default_type,"},{"line_number":554,"context_line":"            ignore_missing\u003dignore_missing)"},{"line_number":555,"context_line":""},{"line_number":556,"context_line":"    def find_default_type(self, name_or_id, ignore_missing\u003dTrue, **attrs):"},{"line_number":557,"context_line":"        \"\"\"Find a single default type"},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"        :param name_or_id: The name or ID of a default volume type."}],"source_content_type":"text/x-python","patch_set":1,"id":"8d2141f7_e9cd8abf","line":556,"range":{"start_line":556,"start_character":65,"end_line":556,"end_character":72},"in_reply_to":"b4b7d288_99ce28a1","updated":"2021-04-03 05:44:55.000000000","message":"Done","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1b5a7a696cde8064b9b1624dc43f1355ef70f9ee","unresolved":true,"context_lines":[{"line_number":560,"context_line":"        :param bool ignore_missing: When set to ``False``"},{"line_number":561,"context_line":"            :class:`~openstack.exceptions.ResourceNotFound` will be raised"},{"line_number":562,"context_line":"            when the default type does not exist."},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"        :returns: One :class:`~openstack.block_storage.v3.default_types."},{"line_number":565,"context_line":"            DefaultVolumeType`."},{"line_number":566,"context_line":"        :raises: :class:`~openstack.exceptions.ResourceNotFound`"}],"source_content_type":"text/x-python","patch_set":1,"id":"6dd47b23_7dff405b","line":563,"updated":"2021-03-15 18:12:28.000000000","message":"docstring for \u0027attrs\u0027 (or \u0027args\u0027)?","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"aaeeb04941c68f57eecc787b92146d4642ff17a7","unresolved":false,"context_lines":[{"line_number":560,"context_line":"        :param bool ignore_missing: When set to ``False``"},{"line_number":561,"context_line":"            :class:`~openstack.exceptions.ResourceNotFound` will be raised"},{"line_number":562,"context_line":"            when the default type does not exist."},{"line_number":563,"context_line":""},{"line_number":564,"context_line":"        :returns: One :class:`~openstack.block_storage.v3.default_types."},{"line_number":565,"context_line":"            DefaultVolumeType`."},{"line_number":566,"context_line":"        :raises: :class:`~openstack.exceptions.ResourceNotFound`"}],"source_content_type":"text/x-python","patch_set":1,"id":"81f08c4c_950d3a6d","line":563,"in_reply_to":"6dd47b23_7dff405b","updated":"2021-04-03 05:44:55.000000000","message":"Done","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"1b5a7a696cde8064b9b1624dc43f1355ef70f9ee","unresolved":true,"context_lines":[{"line_number":568,"context_line":"        \"\"\""},{"line_number":569,"context_line":"        return self._find("},{"line_number":570,"context_line":"            _default_types.DefaultVolumeType, name_or_id,"},{"line_number":571,"context_line":"            ignore_missing\u003dignore_missing)"},{"line_number":572,"context_line":""},{"line_number":573,"context_line":"    def availability_zones(self):"},{"line_number":574,"context_line":"        \"\"\"Return a generator of availability zones"}],"source_content_type":"text/x-python","patch_set":1,"id":"ab1d4b59_cd0d8e89","line":571,"updated":"2021-03-15 18:12:28.000000000","message":"notice anything missing?","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"},{"author":{"_account_id":33032,"name":"Dylan Zapzalka","email":"dylanjameszapzalka@hotmail.com","username":"dylanzapzalka"},"change_message_id":"aaeeb04941c68f57eecc787b92146d4642ff17a7","unresolved":false,"context_lines":[{"line_number":568,"context_line":"        \"\"\""},{"line_number":569,"context_line":"        return self._find("},{"line_number":570,"context_line":"            _default_types.DefaultVolumeType, name_or_id,"},{"line_number":571,"context_line":"            ignore_missing\u003dignore_missing)"},{"line_number":572,"context_line":""},{"line_number":573,"context_line":"    def availability_zones(self):"},{"line_number":574,"context_line":"        \"\"\"Return a generator of availability zones"}],"source_content_type":"text/x-python","patch_set":1,"id":"3e413ef2_e5a89d4b","line":571,"in_reply_to":"ab1d4b59_cd0d8e89","updated":"2021-04-03 05:44:55.000000000","message":"Done","commit_id":"a125a2520c81cfac8fbd0fc30e25ad51a71295d9"}]}
