Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: remove customdelete method for labels#1868

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 1 commit intomainfromjlvillal/delete_label
Feb 1, 2022

Conversation

@JohnVillalovos
Copy link
Member

@JohnVillalovosJohnVillalovos commentedFeb 1, 2022
edited
Loading

The usage of deleting was incorrect according to the current API.
Remove customdelete() method as not needed.

Add tests to show it works with labels needing to be encoded.

Also enable the test_group_labels() test function. Previously it was
disabled.

Add ability to do aget() for group labels.

Closes:#1867

@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/delete_label branch 3 times, most recently from3870af8 to9c0d7a7CompareFebruary 1, 2022 17:01
@codecov-commenter
Copy link

Codecov Report

Merging#1868 (9c0d7a7) intomain (7646360) willincrease coverage by0.05%.
The diff coverage is100.00%.

@@            Coverage Diff             @@##             main    #1868      +/-   ##==========================================+ Coverage   92.35%   92.41%   +0.05%==========================================  Files          77       77                Lines        4856     4852       -4     ==========================================- Hits         4485     4484       -1+ Misses        371      368       -3
FlagCoverage Δ
cli_func_v481.36% <75.00%> (-0.04%)⬇️
py_func_v480.39% <100.00%> (+0.10%)⬆️
unit83.32% <75.00%> (+<0.01%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
gitlab/v4/objects/labels.py100.00% <100.00%> (+5.88%)⬆️

The usage of deleting was incorrect according to the current API.Remove custom `delete()` method as not needed.Add tests to show it works with labels needing to be encoded.Also enable the test_group_labels() test function. Previously it wasdisabled.Add ability to do a `get()` for group labels.Closes:#1867
@nejchnejchenabled auto-mergeFebruary 1, 2022 18:04
@nejchnejch merged commit0ab0fc1 intomainFeb 1, 2022
@nejchnejch deleted the jlvillal/delete_label branchFebruary 1, 2022 18:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nejchnejchnejch approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Deleting a label fails with 404

4 participants

@JohnVillalovos@codecov-commenter@nejch

[8]ページ先頭

©2009-2025 Movatter.jp