summaryrefslogtreecommitdiff
path: root/gitlab/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/__init__.py')
-rw-r--r--gitlab/__init__.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py
index d02389d..1439be7 100644
--- a/gitlab/__init__.py
+++ b/gitlab/__init__.py
@@ -643,17 +643,7 @@ class Gitlab(object):
get_all = kwargs.pop("all", False)
url = self._build_url(path)
- order_by = kwargs.get("order_by")
- pagination = kwargs.get("pagination")
page = kwargs.get("page")
- if (
- path in ALLOWED_KEYSET_ENDPOINTS
- and (not order_by or order_by == "id")
- and (not pagination or pagination == "keyset")
- and not page
- ):
- 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))