| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6c5458a commit 6f843b6
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -204,11 +204,6 @@ listing methods support the ``page`` and ``per_page`` parameters: | |||
| 204 | 204 | By default GitLab does not return the complete list of items. Use the ``all`` | |
| 205 | 205 | parameter to get all the items when using listing methods: | |
| 206 | 206 | ||
| 207 | - .. warning:: | ||
| 208 | - | ||
| 209 | - The all=True option uses keyset pagination by default if order_by is not supplied, | ||
| 210 | - or if order_by="id". | ||
| 211 | - | ||
| 212 | 207 | .. code-block:: python | |
| 213 | 208 | ||
| 214 | 209 | all_groups = gl.groups.list(all=True) | |
@@ -408,3 +403,4 @@ parameter to that API invocation: | |||
| 408 | 403 | ||
| 409 | 404 | gl = gitlab.gitlab(url, token, api_version=4) | |
| 410 | 405 | gl.projects.import_github(ACCESS_TOKEN, 123456, "root", timeout=120.0) | |
| 406 | + | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -641,12 +641,6 @@ def http_list(self, path, query_data=None, as_list=None, **kwargs): | |||
| 641 | 641 | get_all = kwargs.pop("all", False) | |
| 642 | 642 | url = self._build_url(path) | |
| 643 | 643 | ||
| 644 | - # use keyset pagination automatically, if all=True | ||
| 645 | - order_by = kwargs.get("order_by") | ||
| 646 | - if get_all and (not order_by or order_by == "id"): | ||
| 647 | - kwargs["pagination"] = "keyset" | ||
| 648 | - kwargs["order_by"] = "id" | ||
| 649 | - | ||
| 650 | 644 | if get_all is True and as_list is True: | |
| 651 | 645 | return list(GitlabList(self, url, query_data, **kwargs)) | |
| 652 | 646 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments