We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e46c188 commit e48e4acCopy full SHA for e48e4ac
gitlab/objects.py
@@ -1516,6 +1516,16 @@ class ProjectManager(BaseManager):
1516
def search(self, query, **kwargs):
1517
"""Search projects by name.
1518
1519
+ .. note::
1520
+
1521
+ The search is only performed on the project name (not on the
1522
+ namespace or the description). To perform a smarter search, use the
1523
+ ``search`` argument of the ``list()`` method:
1524
1525
+ .. code-block:: python
1526
1527
+ gl.projects.list(search=your_search_string)
1528
1529
Args:
1530
query (str): The query string to send to GitLab for the search.
1531
all (bool): If True, return all the items, without pagination
0 commit comments