Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit 51632f8

Browse files
committed
doc tweaks
1 parent a51a573 commit 51632f8

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

cassandra/cluster.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,6 @@ class Session(object):
14291429
"""
14301430

14311431
default_consistency_level = ConsistencyLevel.LOCAL_ONE
1432-
14331432
"""
14341433
The default :class:`~ConsistencyLevel` for operations executed through
14351434
this session. This default may be overridden by setting the
@@ -1447,6 +1446,8 @@ class Session(object):
14471446
The default :class:`~ConsistencyLevel` for serial phase of conditional updates executed through
14481447
this session. This default may be overridden by setting the
14491448
:attr:`~.Statement.serial_consistency_level` on individual statements.
1449+
1450+
Only valid for ``protocol_version >= 2``.
14501451
"""
14511452

14521453
max_trace_wait = 2.0
@@ -3317,8 +3318,7 @@ def has_more_pages(self):
33173318
@property
33183319
def current_rows(self):
33193320
"""
3320-
:return: the list of current page rows. May be empty if the result was empty,
3321-
or this is the last page.
3321+
:return: the list of current page rows. May be empty if the result was empty, or this is the last page.
33223322
"""
33233323
return self._current_rows or []
33243324

docs/api/cassandra/cluster.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@
9999
.. autoattribute:: default_consistency_level
100100
:annotation: = LOCAL_ONE
101101

102+
.. autoattribute:: default_serial_consistency_level
103+
102104
.. autoattribute:: row_factory
103105

104106
.. autoattribute:: default_fetch_size

0 commit comments

Comments
 (0)