Skip to content

Commit 1c21423

Browse files
author
Gauvain Pocentek
committed
ProjectMember: constructor should not create a User object
1 parent c6e371e commit 1c21423

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gitlab.py

-1
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ def Note(self, id=None, **kwargs):
798798

799799
class ProjectMember(GitlabObject):
800800
_url = '/projects/%(project_id)s/members'
801-
_returnClass = User
802801
requiredListAttrs = ['project_id']
803802
requiredGetAttrs = ['project_id']
804803
requiredCreateAttrs = ['project_id', 'user_id', 'access_level']

0 commit comments

Comments
 (0)