We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f909cae commit c9e5b4fCopy full SHA for c9e5b4f
gitlab/base.py
@@ -205,15 +205,15 @@ def current_page(self) -> int:
205
return self._list.current_page
206
207
@property
208
- def prev_page(self) -> int:
+ def prev_page(self) -> Optional[int]:
209
"""The previous page number.
210
211
If None, the current page is the first.
212
"""
213
return self._list.prev_page
214
215
216
- def next_page(self) -> int:
+ def next_page(self) -> Optional[int]:
217
"""The next page number.
218
219
If None, the current page is the last.
0 commit comments