summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorStefan K. Dunkler <stefan.dun@gmail.com>2016-06-11 17:19:18 +0200
committerStefan K. Dunkler <stefan.dun@gmail.com>2016-06-18 11:51:17 +0200
commitc24f0d9a3664c025e3284e056d5b4c007dcf5435 (patch)
tree20b00787141adc26426a39f5152f54a92e45a449 /gitlab/objects.py
parentc3054592f79caa782ec79816501335e9a5c4e9ed (diff)
downloadgitlab-c24f0d9a3664c025e3284e056d5b4c007dcf5435.tar.gz
Fix --title is not a required argument anymore
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 313ed96..e19b951 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1226,6 +1226,7 @@ class ProjectMilestone(GitlabObject):
requiredUrlAttrs = ['project_id']
requiredCreateAttrs = ['title']
optionalCreateAttrs = ['description', 'due_date', 'state_event']
+ optionalUpdateAttrs = requiredCreateAttrs + optionalCreateAttrs
shortPrintAttr = 'title'
def issues(self):