8000 Merge pull request #276 from elisarver/patch-1 · python-gitlab/python-gitlab@f19681f · GitHub
[go: up one dir, main page]

Skip to content

Commit f19681f

Browse files
author
Gauvain Pocentek
authored
Merge pull request #276 from elisarver/patch-1
Missing expires_at in GroupMembers update
2 parents 19f1b1a + d41e972 commit f19681f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ class GroupMember(GitlabObject):
362362
requiredCreateAttrs = ['access_level', 'user_id']
363363
optionalCreateAttrs = ['expires_at']
364364
requiredUpdateAttrs = ['access_level']
365-
optionalCreateAttrs = ['expires_at']
365+
optionalUpdateAttrs = ['expires_at']
366366
shortPrintAttr = 'username'
367367

368368
def _update(self, **kwargs):

0 commit comments

Comments
 (0)
0