summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-03-09 16:33:55 +0100
committerGitHub <noreply@github.com>2020-03-09 16:33:55 +0100
commit6f843b63f7227ee3d338724d49b3ce111366a738 (patch)
tree8efdae1001ea821425861ad9419f8e86201f2729 /gitlab
parent6c5458a3bfc3208ad2d7cc40e1747f7715abe449 (diff)
downloadgitlab-6f843b63f7227ee3d338724d49b3ce111366a738.tar.gz
Revert "feat: use keyset pagination by default for `all=True`"
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/__init__.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py
index eed1ec1..8c78866 100644
--- a/gitlab/__init__.py
+++ b/gitlab/__init__.py
@@ -641,12 +641,6 @@ class Gitlab(object):
get_all = kwargs.pop("all", False)
url = self._build_url(path)
- # use keyset pagination automatically, if all=True
- order_by = kwargs.get("order_by")
- if get_all and (not order_by or order_by == "id"):
- kwargs["pagination"] = "keyset"
- kwargs["order_by"] = "id"
-
if get_all is True and as_list is True:
return list(GitlabList(self, url, query_data, **kwargs))