summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorJames Johnson <d0c.s4vage@gmail.com>2017-02-08 11:41:02 -0600
committerJames Johnson <d0c.s4vage@gmail.com>2017-02-08 11:41:02 -0600
commit58708b186e71289427cbce8decfeab28fdf66ad6 (patch)
treeefd3687c4d244d487b1ce1cef598caa25f141d5f /gitlab/objects.py
parent2f274bcd0bfb9fef2a2682445843b7804980ecf6 (diff)
downloadgitlab-58708b186e71289427cbce8decfeab28fdf66ad6.tar.gz
fixes gpocentek/python-gitlab#215
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 1ea3049..4da86d7 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1447,10 +1447,10 @@ class ProjectIssue(GitlabObject):
requiredUrlAttrs = ['project_id']
requiredCreateAttrs = ['title']
optionalCreateAttrs = ['description', 'assignee_id', 'milestone_id',
- 'labels', 'created_at']
+ 'labels', 'created_at', 'due_date']
optionalUpdateAttrs = ['title', 'description', 'assignee_id',
'milestone_id', 'labels', 'created_at',
- 'updated_at', 'state_event']
+ 'updated_at', 'state_event', 'due_date']
shortPrintAttr = 'title'
managers = (
('notes', ProjectIssueNoteManager,