Debian Codegraph @

releasenotes/notes/subresource-update-attrmap-and-classmethods-76accdd5c56a3bd4.yaml

raw
1 ---
2 features:
3 - All methods defined in ``APIExtensionDescriptor`` are now class methods.
4 This allows consumers to call them without a reference to an actual
5 extension object instance.
6 fixes:
7 - The ``get_extended_resources`` method of the ``APIExtensionDescriptor``
8 was updated to also include the underlying API definition's
9 ``SUB_RESOURCE_ATTRIBUTE_MAP`` in the returned dict. As a result, the
10 ``update_attributes_map`` method now also includes the sub-resources if no
11 ``extension_attrs_map`` is passed to it.