diff options
author | John L. Villalovos <john@sodarock.com> | 2021-02-25 10:27:59 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-02-26 12:55:32 -0800 |
commit | c9e5b4f6285ec94d467c7c10c45f4e2d5f656430 (patch) | |
tree | b1e90a0305aa3e6e0cd0f9ed359683c1489f6f93 /gitlab/base.py | |
parent | f909caea0d1edc779cf6139af769346013bbe358 (diff) | |
download | gitlab-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.py | 4 |
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. |