From 1a143952119ce8e964cc7fcbfd73b8678ee2da74 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Sun, 10 Jan 2021 05:05:18 +0100 Subject: [PATCH] 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. --- gitlab/v4/objects/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/v4/objects/__init__.py b/gitlab/v4/objects/__init__.py index edeff044e..f42c60b46 100644 --- a/gitlab/v4/objects/__init__.py +++ b/gitlab/v4/objects/__init__.py @@ -3601,7 +3601,7 @@ def save(self, **kwargs): class ProjectLabelManager( - ListMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager + RetrieveMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager ): _path = "/projects/%(project_id)s/labels" _obj_cls = ProjectLabel