Skip to content

Commit de19296

Browse files
authored
Merge pull request #840 from python-gitlab/docs/project-docs
docs(projects): add mention about project listings
2 parents f0e3daa + f604b25 commit de19296

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/gl_objects/projects.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Results can also be sorted using the following parameters:
3939

4040
::
4141

42+
# List all projects (default 20)
43+
projects = gl.projects.list(all=True)
4244
# Archived projects
4345
projects = gl.projects.list(archived=1)
4446
# Limit to projects with a defined visibility

0 commit comments

Comments
 (0)