From dbad3bd007aaa0e4a19a9f3bc87924018f311290 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 19 Jun 2016 21:03:01 +0200 Subject: milestone: optional listing attrs --- gitlab/objects.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gitlab/objects.py') 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 -- cgit v1.2.1