File: subresource-update-attrmap-and-classmethods-76accdd5c56a3bd4.yaml

package info (click to toggle)
python-neutron-lib 3.21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,660 kB
  • sloc: python: 22,829; sh: 137; makefile: 24
file content (11 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
---
features:
  - All methods defined in ``APIExtensionDescriptor`` are now class methods.
    This allows consumers to call them without a reference to an actual
    extension object instance.
fixes:
  - The ``get_extended_resources`` method of the ``APIExtensionDescriptor``
    was updated to also include the underlying API definition's
    ``SUB_RESOURCE_ATTRIBUTE_MAP`` in the returned dict. As a result, the
    ``update_attributes_map`` method now also includes the sub-resources if no
    ``extension_attrs_map`` is passed to it.