Skip to content

Commit dbad3bd

Browse files
author
Gauvain Pocentek
committed
milestone: optional listing attrs
1 parent c55fd4b commit dbad3bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/objects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,7 @@ class ProjectMilestone(GitlabObject):
13081308
_url = '/projects/%(project_id)s/milestones'
13091309
canDelete = False
13101310
requiredUrlAttrs = ['project_id']
1311+
optionalListAttrs = ['iid', 'state']
13111312
requiredCreateAttrs = ['title']
13121313
optionalCreateAttrs = ['description', 'due_date', 'state_event']
13131314
optionalUpdateAttrs = requiredCreateAttrs + optionalCreateAttrs

0 commit comments

Comments
 (0)