diff options
author | James E. Flemer <james.flemer@ndpgroup.com> | 2017-04-12 12:35:35 -0600 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-04-12 20:35:35 +0200 |
commit | 9561b81a6a9e7af4da1eba6184fc0d3f99270fdd (patch) | |
tree | a8a3e6a46844cc004bf3574aa13a91e579824618 /gitlab/objects.py | |
parent | f03613dd045daf3800fed3d79d8f3f3de0d33519 (diff) | |
download | gitlab-9561b81a6a9e7af4da1eba6184fc0d3f99270fdd.tar.gz |
Support milestone start date (#251)
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 3 |
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' |