summaryrefslogtreecommitdiff
path: root/gitlab/base.py
diff options
context:
space:
mode:
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 64604b4..50f09c5 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -288,12 +288,12 @@ class RESTObjectList(object):
return self._list.per_page
@property
- def total_pages(self) -> int:
+ def total_pages(self) -> Optional[int]:
"""The total number of pages."""
return self._list.total_pages
@property
- def total(self) -> int:
+ def total(self) -> Optional[int]:
"""The total number of items."""
return self._list.total