diff options
| author | Roger Meier <r.meier@siemens.com> | 2020-03-09 16:59:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-09 16:59:52 +0100 |
| commit | 6d941bdd90414d9ddce9f90166dbdc2adaf01d7d (patch) | |
| tree | 8efdae1001ea821425861ad9419f8e86201f2729 /gitlab | |
| parent | 6c5458a3bfc3208ad2d7cc40e1747f7715abe449 (diff) | |
| parent | 6f843b63f7227ee3d338724d49b3ce111366a738 (diff) | |
| download | gitlab-6d941bdd90414d9ddce9f90166dbdc2adaf01d7d.tar.gz | |
Merge pull request #1045 from python-gitlab/revert-1003-feat/all-keyset-pagination
Revert "feat: use keyset pagination by default for `all=True`"
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/__init__.py | 6 |
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)) |
