Skip to content

Commit 1a14395

Browse files
committed
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.
1 parent 265dbbd commit 1a14395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3601,7 +3601,7 @@ def save(self, **kwargs):
36013601

36023602

36033603
class ProjectLabelManager(
3604-
ListMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager
3604+
RetrieveMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager
36053605
):
36063606
_path = "/projects/%(project_id)s/labels"
36073607
_obj_cls = ProjectLabel

0 commit comments

Comments
 (0)