summaryrefslogtreecommitdiff
path: root/docs/api-usage.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r--docs/api-usage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst
index fa6e0b0..44df385 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -187,7 +187,7 @@ parameter to get all the items when using listing methods:
.. code-block:: python
all_groups = gl.groups.list(all=True)
- all_owned_projects = gl.projects.owned(all=True)
+ all_owned_projects = gl.projects.list(owned=True, all=True)
You can define the ``per_page`` value globally to avoid passing it to every
``list()`` method call: