ClientManager._region_name should be a public attribute

Bug #2146739 reported by Karan Anand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
Triaged
Low
Unassigned
python-openstackclient
New
Undecided
Unassigned

Bug Description

ClientManager._region_name is currently a private attribute, but downstream
projects like python-ironicclient need to access it when constructing service
clients (e.g. in the OSC plugin's make_client()).

Currently we access instance._region_name directly, which requires
# type: ignore[attr-defined] suppressions and relies on an implementation
detail.

Request: expose region_name as a public property or attribute on
ClientManager so downstream consumers don't need to reach into private
internals.

Reference: https://review.opendev.org/c/openstack/python-ironicclient/+/981668
Comment: https://review.opendev.org/c/openstack/python-ironicclient/+/981668/comment/f2fc7df3_69c5e600/

Clif Houck (clifhouck)
Changed in python-ironicclient:
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Triaged
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.