Skip to content

Commit c7ea3c6

Browse files
committed
docs: update ResultSet.current_rows wrt empty pages
ScyllaDB may send empty pages when processing long spans of tombstones to avoid timing out; adjust the documentation not to imply that an empty page means there is no more data.
1 parent c587c97 commit c7ea3c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cassandra/cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5405,8 +5405,8 @@ def has_more_pages(self):
54055405
@property
54065406
def current_rows(self):
54075407
"""
5408-
The list of current page rows. May be empty if the result was empty,
5409-
or this is the last page.
5408+
The list of current page rows. May be empty; this does not mean
5409+
there is no more data. Use `has_more_pages()` for that.
54105410
"""
54115411
return self._current_rows or []
54125412

0 commit comments

Comments
 (0)