From 42ab32fe53992d5259cd694a45dd9355eef3034e Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Fri, 12 Jul 2024 23:35:14 -0700 Subject: [PATCH] fix: correct id attribute for GroupLabel This makes it work like ProjectLabel Closes: #2839 --- gitlab/v4/objects/labels.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gitlab/v4/objects/labels.py b/gitlab/v4/objects/labels.py index 32d4f6ba0..44f7bac91 100644 --- a/gitlab/v4/objects/labels.py +++ b/gitlab/v4/objects/labels.py @@ -23,7 +23,6 @@ class GroupLabel(SubscribableMixin, SaveMixin, ObjectDeleteMixin, RESTObject): - _id_attr = "name" manager: "GroupLabelManager" # Update without ID, but we need an ID to get from list.