diff options
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r-- | docs/api-usage.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst index 5b1bd93..19fdea0 100644 --- a/docs/api-usage.rst +++ b/docs/api-usage.rst @@ -225,8 +225,8 @@ order options. At the time of writing, only ``order_by="id"`` works. .. code-block:: python - gl = gitlab.Gitlab(url, token, pagination="keyset", per_page=100) - gl.projects.list(order_by="id") + gl = gitlab.Gitlab(url, token, pagination="keyset", order_by="id", per_page=100) + gl.projects.list() Reference: https://docs.gitlab.com/ce/api/README.html#keyset-based-pagination |