summaryrefslogtreecommitdiff
path: root/gitlab/base.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-02-25 10:27:59 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-02-26 12:55:32 -0800
commitc9e5b4f6285ec94d467c7c10c45f4e2d5f656430 (patch)
treeb1e90a0305aa3e6e0cd0f9ed359683c1489f6f93 /gitlab/base.py
parentf909caea0d1edc779cf6139af769346013bbe358 (diff)
downloadgitlab-c9e5b4f6285ec94d467c7c10c45f4e2d5f656430.tar.gz
chore: add type-hints to gitlab/client.py
Adding some initial 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 f0bedc7..5372244 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -205,7 +205,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.
@@ -213,7 +213,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.