Skip to content

Commit eb6c26f

Browse files
committed
move into own class & create manager class
1 parent cd13aff commit eb6c26f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gitlab/objects.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,12 @@ def search(self, query, **kwargs):
717717
url = '/groups?search=' + query
718718
return self.gitlab._raw_list(url, self.obj_cls, **kwargs)
719719

720+
721+
class GroupProjectManager(BaseManager):
722+
obj_cls = GroupProject
723+
724+
725+
class GroupProject(GitlabObject):
720726
def list_projects(self, gid, **kwargs):
721727
"""List projects in a group
722728

0 commit comments

Comments
 (0)