diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-23 22:44:18 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-23 22:44:18 +0200 |
| commit | 9a66d780198c5e0abb1abd982063723fe8a16716 (patch) | |
| tree | 3cf9acea8281fe4adadda1b12dd90604e05452fb /gitlab/v4 | |
| parent | 27c1e954d8fc07325c5e156e0b130e9a4757e7ff (diff) | |
| download | gitlab-9a66d780198c5e0abb1abd982063723fe8a16716.tar.gz | |
[v4] GroupManager.search is not needed
Diffstat (limited to 'gitlab/v4')
| -rw-r--r-- | gitlab/v4/objects.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index af407f2..8b56eea 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -2222,16 +2222,3 @@ class Group(GitlabObject): class GroupManager(BaseManager): obj_cls = Group - - def search(self, query, **kwargs): - """Searches groups by name. - - Args: - query (str): The search string - all (bool): If True, return all the items, without pagination - - Returns: - list(Group): a list of matching groups. - """ - url = '/groups?search=' + query - return self.gitlab._raw_list(url, self.obj_cls, **kwargs) |
