Skip to content

Commit

Permalink
fix(api): use RetrieveMixin for ProjectLabelManager
Browse files Browse the repository at this point in the history
Allows to get a single label from a project, which was missing before
even though the GitLab API has the ability to.
  • Loading branch information
ePirat committed Jan 10, 2021
1 parent 265dbbd commit 1a14395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/v4/objects/__init__.py
Expand Up @@ -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
Expand Down

0 comments on commit 1a14395

Please sign in to comment.