summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2014-08-21 12:08:23 +0200
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2014-08-21 12:08:23 +0200
commit22812832021911dccdd93ced0ef1088441e3d227 (patch)
treeb07dd79991f65a61cee7cff96e16fb6e37197d27 /gitlab.py
parent97e26896a7c2916b0f0d2c64934f280d4c9e5dc7 (diff)
downloadgitlab-22812832021911dccdd93ced0ef1088441e3d227.tar.gz
Support state_event in ProjectMilestone
Closes #30
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab.py b/gitlab.py
index 9313c1d..b5d088c 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -871,7 +871,7 @@ class ProjectMilestone(GitlabObject):
requiredListAttrs = ['project_id']
requiredGetAttrs = ['project_id']
requiredCreateAttrs = ['project_id', 'title']
- optionalCreateAttrs = ['description', 'due_date']
+ optionalCreateAttrs = ['description', 'due_date', 'state_event']
shortPrintAttr = 'title'