summaryrefslogtreecommitdiff
path: root/gitlab/base.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2021-02-27 17:30:17 +0100
committerGitHub <noreply@github.com>2021-02-27 17:30:17 +0100
commitb0d75d9e6fd4876446498f0aac97ae3f6ec601d5 (patch)
tree1ce71e0ccd7faf49b02bd4ab41f6b7b392fd9f06 /gitlab/base.py
parentadab83a1330dc34e8e52d74dfef36ac97060d42c (diff)
parentc9e5b4f6285ec94d467c7c10c45f4e2d5f656430 (diff)
downloadgitlab-b0d75d9e6fd4876446498f0aac97ae3f6ec601d5.tar.gz
Merge pull request #1339 from JohnVillalovos/jlvillal/mypy_client_py
chore: add type-hints to gitlab/client.py
Diffstat (limited to 'gitlab/base.py')
-rw-r--r--gitlab/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/base.py b/gitlab/base.py
index ac3b962..30f0659 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -207,7 +207,7 @@ class RESTObjectList(object):
return self._list.current_page
@property
- def prev_page(self) -> int:
+ def prev_page(self) -> Optional[int]:
"""The previous page number.
If None, the current page is the first.
@@ -215,7 +215,7 @@ class RESTObjectList(object):
return self._list.prev_page
@property
- def next_page(self) -> int:
+ def next_page(self) -> Optional[int]:
"""The next page number.
If None, the current page is the last.