We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73627a2 commit c55fd4bCopy full SHA for c55fd4b
gitlab/objects.py
@@ -1340,9 +1340,9 @@ class ProjectLabel(GitlabObject):
1340
idAttr = 'name'
1341
requiredDeleteAttrs = ['name']
1342
requiredCreateAttrs = ['name', 'color']
1343
- requiredUpdateAttrs = []
1344
- # FIXME: new_name is only valid with update
1345
- optionalCreateAttrs = ['new_name']
+ optionalCreateAttrs = ['description']
+ requiredUpdateAttrs = ['name']
+ optionalUpdateAttrs = ['new_name', 'color', 'description']
1346
1347
1348
class ProjectLabelManager(BaseManager):
0 commit comments