We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bec701 commit abf0203Copy full SHA for abf0203
1 file changed
src/writerai/pagination.py
@@ -129,7 +129,7 @@ def next_page_info(self) -> Optional[PageInfo]:
129
if self.pagination.offset is not None:
130
offset = self.pagination.offset
131
if offset is None:
132
- return None
+ return None # type: ignore[unreachable]
133
134
length = len(self._get_page_items())
135
current_count = offset + length
@@ -163,7 +163,7 @@ def next_page_info(self) -> Optional[PageInfo]:
163
164
165
166
167
168
169
0 commit comments