FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #183 from GregoryEAllen/master · python-gitlab/python-gitlab@840cb89 · GitHub

Repository navigation

Commit 840cb89

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎gitlab/objects.py‎

Lines changed: 2 additions & 1 deletion
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)

Back | FazBrowse Home | New Git URL