diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-06-19 21:03:01 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-06-19 21:03:01 +0200 |
| commit | dbad3bd007aaa0e4a19a9f3bc87924018f311290 (patch) | |
| tree | 2aa8dc33efe1c2cd7394493ff3ffca15eb73651e /gitlab/objects.py | |
| parent | c55fd4b43d6576aff3c679b701c0f5be0cb98281 (diff) | |
| download | gitlab-dbad3bd007aaa0e4a19a9f3bc87924018f311290.tar.gz | |
milestone: optional listing attrs
Diffstat (limited to 'gitlab/objects.py')
| -rw-r--r-- | gitlab/objects.py | 1 |
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 |
