Skip to content

Commit 137d72b

Browse files
committed
fix: ignore all parameter, when as_list=True
Closes #962
1 parent 18913dd commit 137d72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def http_list(self, path, query_data=None, as_list=None, **kwargs):
630630
get_all = kwargs.pop("all", False)
631631
url = self._build_url(path)
632632

633-
if get_all is True:
633+
if get_all is True and as_list is True:
634634
return list(GitlabList(self, url, query_data, **kwargs))
635635

636636
if "page" in kwargs or as_list is True:

0 commit comments

Comments
 (0)