- Notifications
You must be signed in to change notification settings - Fork673
Open
Labels
Description
Description of the problem, including code/CLI snippet
get_id() of a GroupLabel returns the name of the label and not the id.
In the case of a label inherited from a parent group, it is not possible to distinguish between two labels if they have the same name.
Expected Behavior
I expect to get the value oflabel.id
Actual Behavior
I receive the value oflabel.name
Specifications
- python-gitlab version: 3.8.1
- API version you are using (v3/v4):
- Gitlab server version (or gitlab.com): 16.9.2