FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[v4] GroupManager.search is not needed · python-gitlab/python-gitlab@9a66d78 · GitHub

Repository navigation

Commit 9a66d78

Browse files
Gauvain Pocentek
committed
[v4] GroupManager.search is not needed
1 parent 27c1e95 commit 9a66d78

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

‎gitlab/v4/objects.py‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,16 +2222,3 @@ def transfer_project(self, id, **kwargs):
22222222

22232223
class GroupManager(BaseManager):
22242224
obj_cls = Group
2225-
2226-
def search(self, query, **kwargs):
2227-
"""Searches groups by name.
2228-
2229-
Args:
2230-
query (str): The search string
2231-
all (bool): If True, return all the items, without pagination
2232-
2233-
Returns:
2234-
list(Group): a list of matching groups.
2235-
"""
2236-
url = '/groups?search=' + query
2237-
return self.gitlab._raw_list(url, self.obj_cls, **kwargs)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL