summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2021-01-10 05:05:18 +0100
committerMarvin Scholz <epirat07@gmail.com>2021-01-10 13:44:55 +0100
commit1a143952119ce8e964cc7fcbfd73b8678ee2da74 (patch)
tree1e7b312ef2f6c49cea9a64ba71afa3be5b279d62 /gitlab
parent265dbbdd37af88395574564aeb3fd0350288a18c (diff)
downloadgitlab-1a143952119ce8e964cc7fcbfd73b8678ee2da74.tar.gz
fix(api): use RetrieveMixin for ProjectLabelManager
Allows to get a single label from a project, which was missing before even though the GitLab API has the ability to.
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/v4/objects/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/__init__.py b/gitlab/v4/objects/__init__.py
index edeff04..f42c60b 100644
--- a/gitlab/v4/objects/__init__.py
+++ b/gitlab/v4/objects/__init__.py
@@ -3601,7 +3601,7 @@ class ProjectLabel(SubscribableMixin, SaveMixin, ObjectDeleteMixin, RESTObject):
class ProjectLabelManager(
- ListMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager
+ RetrieveMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager
):
_path = "/projects/%(project_id)s/labels"
_obj_cls = ProjectLabel