summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkogut <mr.jkogut@gmail.com>2019-05-28 20:36:22 +0200
committerMax Wittig <max.wittig95@gmail.com>2019-07-21 21:19:34 +0200
commitf604b2577b03a6a19641db3f2060f99d24cc7073 (patch)
tree68a7a5dd2a9572436d5cf851eec8ae47865a67ad
parent262b222000dad30fc6dfc63ccf2fa200eba09662 (diff)
downloadgitlab-f604b2577b03a6a19641db3f2060f99d24cc7073.tar.gz
docs(projects): add mention about project listings
Having exactly 20 internal and 5 private projects in the group spent some time debugging this issue. Hopefully that helped: https://github.com/python-gitlab/python-gitlab/issues/93 Imho should be definitely mention about `all=True` parameter.
-rw-r--r--docs/gl_objects/projects.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index c151889..9e90c9b 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -39,6 +39,8 @@ Results can also be sorted using the following parameters:
::
+ # List all projects (default 20)
+ projects = gl.projects.list(all=True)
# Archived projects
projects = gl.projects.list(archived=1)
# Limit to projects with a defined visibility