Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79d2ca4

Browse files
author
Gauvain Pocentek
authored
Merge pull request#406 from ericfrederich/pagination
Allow per_page to be used with generators.
2 parents7efbc30 +3b1d1dd commit79d2ca4

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
@@ -743,7 +743,7 @@ def http_list(self, path, query_data={}, as_list=None, **kwargs):
743743
ifget_allisTrue:
744744
returnlist(GitlabList(self,url,query_data,**kwargs))
745745

746-
if'page'inkwargsor'per_page'inkwargsoras_listisTrue:
746+
if'page'inkwargsoras_listisTrue:
747747
# pagination requested, we return a list
748748
returnlist(GitlabList(self,url,query_data,get_next=False,
749749
**kwargs))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp