From bea8ea9d0fa921cc5c4fdd1b948420f1f780770c Mon Sep 17 00:00:00 2001 From: "Stefan K. Dunkler" Date: Sat, 11 Jun 2016 17:19:18 +0200 Subject: [PATCH] Fix that --title is a required argument, when trying to update a ProjectMilestone --- gitlab/objects.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab/objects.py b/gitlab/objects.py index 313ed964e..e19b95149 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):