From ccf0c2ad35d4dd1af4f36e411027286a0be0f49f Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Tue, 4 Sep 2018 16:36:34 +0200 Subject: [docs] Fix the owned/starred usage documentation Closes #579 --- docs/api-usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/api-usage.rst') 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: -- cgit v1.2.1