File tree 1 file changed +0
-29
lines changed 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -2168,35 +2168,6 @@ def delete_all(self, **kwargs):
2168
2168
class ProjectManager (BaseManager ):
2169
2169
obj_cls = Project
2170
2170
2171
- def search (self , query , ** kwargs ):
2172
- """Search projects by name.
2173
-
2174
- API v3 only.
2175
-
2176
- .. note::
2177
-
2178
- The search is only performed on the project name (not on the
2179
- namespace or the description). To perform a smarter search, use the
2180
- ``search`` argument of the ``list()`` method:
2181
-
2182
- .. code-block:: python
2183
-
2184
- gl.projects.list(search=your_search_string)
2185
-
2186
- Args:
2187
- query (str): The query string to send to GitLab for the search.
2188
- all (bool): If True, return all the items, without pagination
2189
- **kwargs: Additional arguments to send to GitLab.
2190
-
2191
- Returns:
2192
- list(gitlab.Gitlab.Project): A list of matching projects.
2193
- """
2194
- if self .gitlab .api_version == '4' :
2195
- raise NotImplementedError ("Not supported by v4 API" )
2196
-
2197
- return self .gitlab ._raw_list ("/projects/search/" + query , Project ,
2198
- ** kwargs )
2199
-
2200
2171
def all (self , ** kwargs ):
2201
2172
"""List all the projects (need admin rights).
2202
2173
You can’t perform that action at this time.
0 commit comments