summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-06-18 15:56:27 +0200
committerGitHub <noreply@github.com>2016-06-18 15:56:27 +0200
commit18de4ef22f5f801dd721d76d0721c5b4cd459c37 (patch)
tree20b00787141adc26426a39f5152f54a92e45a449 /gitlab/objects.py
parentc3054592f79caa782ec79816501335e9a5c4e9ed (diff)
parent899490b04055029196eff9e03b496131e2238e61 (diff)
downloadgitlab-18de4ef22f5f801dd721d76d0721c5b4cd459c37.tar.gz
Merge pull request #124 from Condla/master
Fix: --title is required argument, when in reality optional
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):