resource: Remove deprecated 'allow_get' attribute

Change-Id: I7553fa300a4527fd29f7a945a0dc0c269a7e4730
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2021-10-08 18:23:07 +01:00
parent 15a8fc4c26
commit 93a8258e66
2 changed files with 5 additions and 4 deletions

View File

@ -454,10 +454,6 @@ class Resource(dict):
#: Allow patch operation for this resource.
allow_patch = False
# TODO(mordred) Unused - here for transition with OSC. Remove once
# OSC no longer checks for allow_get
allow_get = True
#: Commits happen without header or body being dirty.
allow_empty_commit = False

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The ``allow_get`` attribute of ``openstack.resource.Resource`` has been
removed. Use ``allow_fetch`` or ``allow_list`` instead.