Debian Codegraph @

releasenotes/notes/core-attributes-43e6969f1b187e5c.yaml

raw
1 ---
2 features:
3 - A bulk of the ``neutron.api.v2.attributes`` functionality is now available
4 in ``neutron_lib.api.attributes``. A new ``AttributeInfo`` class is
5 available in that acts as a wrapper for an API resource's attribute dict
6 and allows consumers to perform operations with the underlying attribute
7 dict. The ``populate_project_info`` function is now available. The global
8 attribute map ``RESOURCES`` is now available and will take the place of
9 neutron's global ``RESOURCE_ATTRIBUTE_MAP``.
10 - The ``neutron_lib.fixture.APIDefinitionFixture`` has been updated to handle
11 backing-up and restoring the global ``RESOURCES`` dict. By default the
12 constructor now also uses all API definitions if none are passed to it's
13 constructor. This is the default behavior almost all consumers need and is
14 thus a convenience change.