Skip to content

Commit 840cb89

Browse files
author
Gauvain Pocentek
authored
Merge pull request #183 from GregoryEAllen/master
Please add these missing attrs
2 parents 570e75d + f290b2b commit 840cb89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitlab/objects.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,7 @@ class ProjectIssueNote(GitlabObject):
13761376
canDelete = False
13771377
requiredUrlAttrs = ['project_id', 'issue_id']
13781378
requiredCreateAttrs = ['body']
1379+
optionalCreateAttrs = ['created_at']
13791380

13801381

13811382
class ProjectIssueNoteManager(BaseManager):
@@ -1394,7 +1395,7 @@ class ProjectIssue(GitlabObject):
13941395
'labels', 'created_at']
13951396
optionalUpdateAttrs = ['title', 'description', 'assignee_id',
13961397
'milestone_id', 'labels', 'created_at',
1397-
'state_event']
1398+
'updated_at', 'state_event']
13981399
shortPrintAttr = 'title'
13991400
managers = (
14001401
('notes', ProjectIssueNoteManager,

0 commit comments

Comments
 (0)