Skip to content

Commit

Permalink
update ProjectLabel attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Jun 19, 2016
1 parent 73627a2 commit c55fd4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gitlab/objects.py
Expand Up @@ -1340,9 +1340,9 @@ class ProjectLabel(GitlabObject):
idAttr = 'name'
requiredDeleteAttrs = ['name']
requiredCreateAttrs = ['name', 'color']
requiredUpdateAttrs = []
# FIXME: new_name is only valid with update
optionalCreateAttrs = ['new_name']
optionalCreateAttrs = ['description']
requiredUpdateAttrs = ['name']
optionalUpdateAttrs = ['new_name', 'color', 'description']


class ProjectLabelManager(BaseManager):
Expand Down

0 comments on commit c55fd4b

Please sign in to comment.