Skip to content

Commit cd13aff

Browse files
Kris GambirazziKris Gambirazzi
Kris Gambirazzi
authored and
Kris Gambirazzi
committed
update docblock
1 parent d4e2cd6 commit cd13aff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

gitlab/objects.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -718,14 +718,13 @@ def search(self, query, **kwargs):
718718
return self.gitlab._raw_list(url, self.obj_cls, **kwargs)
719719

720720
def list_projects(self, gid, **kwargs):
721-
"""List all projects in a group
721+
"""List projects in a group
722722
723723
Attrs:
724724
gid (int): ID of the group
725725
726-
Raises:
727-
GitlabConnectionError: if the server cannot be reached.
728-
GitlabListError: If the server fails to perform the request.
726+
Returns:
727+
list(Group): a list of projects in the group
729728
"""
730729
url = '/groups/%d/projects' % gid
731730
return self.gitlab._raw_list(url, self.obj_cls, **kwargs)

0 commit comments

Comments
 (0)