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

Commitc55fd4b

Browse files
author
Gauvain Pocentek
committed
update ProjectLabel attributes
1 parent73627a2 commitc55fd4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎gitlab/objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,9 +1340,9 @@ class ProjectLabel(GitlabObject):
13401340
idAttr='name'
13411341
requiredDeleteAttrs= ['name']
13421342
requiredCreateAttrs= ['name','color']
1343-
requiredUpdateAttrs= []
1344-
# FIXME: new_name is only valid with update
1345-
optionalCreateAttrs= ['new_name']
1343+
optionalCreateAttrs= ['description']
1344+
requiredUpdateAttrs= ['name']
1345+
optionalUpdateAttrs= ['new_name','color','description']
13461346

13471347

13481348
classProjectLabelManager(BaseManager):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp