summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index e753e9f..ad1636a 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -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.