diff options
author | Kris Gambirazzi <Kris@sitehost.co.nz> | 2016-04-27 11:58:27 +1200 |
---|---|---|
committer | Kris Gambirazzi <Kris@sitehost.co.nz> | 2016-04-27 11:58:27 +1200 |
commit | cd13aff8a0df9136ba3e289fbccd85de3f159bb5 (patch) | |
tree | ce53961b3c9c6c2d24f5edfc071b1b055f2a0442 /gitlab/objects.py | |
parent | d4e2cd6c618d137df645c182271f67c5ae7e8ff5 (diff) | |
download | gitlab-cd13aff8a0df9136ba3e289fbccd85de3f159bb5.tar.gz |
update docblock
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index 15799e3..3af2b7a 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -718,14 +718,13 @@ class GroupManager(BaseManager): return self.gitlab._raw_list(url, self.obj_cls, **kwargs) def list_projects(self, gid, **kwargs): - """List all projects in a group + """List projects in a group Attrs: gid (int): ID of the group - Raises: - GitlabConnectionError: if the server cannot be reached. - GitlabListError: If the server fails to perform the request. + Returns: + list(Group): a list of projects in the group """ url = '/groups/%d/projects' % gid return self.gitlab._raw_list(url, self.obj_cls, **kwargs) |