diff --git a/openstack/resource.py b/openstack/resource.py index 2305080d1..d8dabff7a 100644 --- a/openstack/resource.py +++ b/openstack/resource.py @@ -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 diff --git a/releasenotes/notes/drop-Resource-allow_get-attribute-fec75b551fb79465.yaml b/releasenotes/notes/drop-Resource-allow_get-attribute-fec75b551fb79465.yaml new file mode 100644 index 000000000..422029a73 --- /dev/null +++ b/releasenotes/notes/drop-Resource-allow_get-attribute-fec75b551fb79465.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The ``allow_get`` attribute of ``openstack.resource.Resource`` has been + removed. Use ``allow_fetch`` or ``allow_list`` instead.