Skip to content

fix(api): add missing GetMixin to ProjectLabelManager #1263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 25, 2021

Conversation

ePirat
Copy link
Contributor

@ePirat ePirat commented Jan 10, 2021

The ProjectLabelManager was missing the GetMixin, which made it impossible to get labels by name or ID, even though this is supported by the GitLab API.

Allows to get a single label from a project, which was missing before
even though the GitLab API has the ability to.
@ePirat ePirat force-pushed the epirat-fix-get-label branch 2 times, most recently from 1bed2e8 to b6c55e2 Compare January 10, 2021 12:51
@ePirat ePirat force-pushed the epirat-fix-get-label branch from b6c55e2 to a41af90 Compare January 10, 2021 13:33
@codecov-io
Copy link

Codecov Report

Merging #1263 (a41af90) into master (265dbbd) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1263   +/-   ##
=======================================
  Coverage   78.04%   78.04%           
=======================================
  Files          11       11           
  Lines        2865     2865           
=======================================
  Hits         2236     2236           
  Misses        629      629           
Impacted Files Coverage Δ
gitlab/v4/objects/__init__.py 79.71% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 265dbbd...a41af90. Read the comment docs.

@nejch nejch merged commit e61a0f2 into python-gitlab:master Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants