summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorJames E. Flemer <james.flemer@ndpgroup.com>2017-04-12 12:35:35 -0600
committerGauvain Pocentek <gauvain@pocentek.net>2017-04-12 20:35:35 +0200
commit9561b81a6a9e7af4da1eba6184fc0d3f99270fdd (patch)
treea8a3e6a46844cc004bf3574aa13a91e579824618 /gitlab/objects.py
parentf03613dd045daf3800fed3d79d8f3f3de0d33519 (diff)
downloadgitlab-9561b81a6a9e7af4da1eba6184fc0d3f99270fdd.tar.gz
Support milestone start date (#251)
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 9c7b59b..e753e9f 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1861,7 +1861,8 @@ class ProjectMilestone(GitlabObject):
requiredUrlAttrs = ['project_id']
optionalListAttrs = ['iid', 'state']
requiredCreateAttrs = ['title']
- optionalCreateAttrs = ['description', 'due_date', 'state_event']
+ optionalCreateAttrs = ['description', 'due_date', 'start_date',
+ 'state_event']
optionalUpdateAttrs = requiredCreateAttrs + optionalCreateAttrs
shortPrintAttr = 'title'