Skip to content

Commit 18de4ef

Browse files
author
Gauvain Pocentek
authored
Merge pull request #124 from Condla/master
Fix: --title is required argument, when in reality optional
2 parents c305459 + 899490b commit 18de4ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/objects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,7 @@ class ProjectMilestone(GitlabObject):
12261226
requiredUrlAttrs = ['project_id']
12271227
requiredCreateAttrs = ['title']
12281228
optionalCreateAttrs = ['description', 'due_date', 'state_event']
1229+
optionalUpdateAttrs = requiredCreateAttrs + optionalCreateAttrs
12291230
shortPrintAttr = 'title'
12301231

12311232
def issues(self):

0 commit comments

Comments
 (0)