Skip to content

Commit afe4b05

Browse files
author
Gauvain Pocentek
committed
Fix GroupProject constructor
1 parent 6e5a6ec commit afe4b05

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gitlab/v4/objects.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,9 +1622,8 @@ class ProjectManager(CRUDMixin, RESTManager):
16221622
'order_by', 'sort', 'simple', 'membership', 'statistics')
16231623

16241624

1625-
class GroupProject(RESTObject):
1626-
def __init__(self, *args, **kwargs):
1627-
Project.__init__(self, *args, **kwargs)
1625+
class GroupProject(Project):
1626+
pass
16281627

16291628

16301629
class GroupProjectManager(GetFromListMixin, RESTManager):

0 commit comments

Comments
 (0)