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

Commitf042d2f

Browse files
author
Gauvain Pocentek
committed
ProjectLabel: use name as id attribute
1 parentfa92155 commitf042d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,11 +970,11 @@ class ProjectMilestone(GitlabObject):
970970
classProjectLabel(GitlabObject):
971971
_url='/projects/%(project_id)s/labels'
972972
requiredUrlAttrs= ['project_id']
973+
idAttr='name'
973974
requiredDeleteAttrs= ['name']
974975
requiredCreateAttrs= ['name','color']
975976
# FIXME: new_name is only valid with update
976977
optionalCreateAttrs= ['new_name']
977-
shortPrintAttr='name'
978978

979979

980980
classProjectFile(GitlabObject):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp