summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 8231219..2ea875b 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1308,6 +1308,7 @@ class ProjectMilestone(GitlabObject):
_url = '/projects/%(project_id)s/milestones'
canDelete = False
requiredUrlAttrs = ['project_id']
+ optionalListAttrs = ['iid', 'state']
requiredCreateAttrs = ['title']
optionalCreateAttrs = ['description', 'due_date', 'state_event']
optionalUpdateAttrs = requiredCreateAttrs + optionalCreateAttrs