Skip to content

Commit

Permalink
Add support for priority attribute in labels
Browse files Browse the repository at this point in the history
Fixes #256
  • Loading branch information
Gauvain Pocentek committed May 20, 2017
1 parent 9561b81 commit 5901a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab/objects.py
Expand Up @@ -1902,9 +1902,9 @@ class ProjectLabel(GitlabObject):
idAttr = 'name'
requiredDeleteAttrs = ['name']
requiredCreateAttrs = ['name', 'color']
optionalCreateAttrs = ['description']
optionalCreateAttrs = ['description', 'priority']
requiredUpdateAttrs = ['name']
optionalUpdateAttrs = ['new_name', 'color', 'description']
optionalUpdateAttrs = ['new_name', 'color', 'description', 'priority']

def subscribe(self, **kwargs):
"""Subscribe to a label.
Expand Down

0 comments on commit 5901a1c

Please sign in to comment.