Remove ignored tracing_enabled param of SimpleStatement
This commit is contained in:
@@ -9,6 +9,12 @@ Bug Fixes
|
|||||||
became available to read on the socket, the message would never be processed,
|
became available to read on the socket, the message would never be processed,
|
||||||
resulting in an OperationTimedOut error.
|
resulting in an OperationTimedOut error.
|
||||||
|
|
||||||
|
Other
|
||||||
|
-----
|
||||||
|
* Remove ignored ``tracing_enabled`` parameter for ``SimpleStatement``. The
|
||||||
|
correct way to trace a query is by setting the ``trace`` argument to ``True``
|
||||||
|
in ``Session.execute()`` and ``Session.execute_async()``.
|
||||||
|
|
||||||
1.0.1
|
1.0.1
|
||||||
=====
|
=====
|
||||||
Feb 19, 2014
|
Feb 19, 2014
|
||||||
|
|||||||
@@ -45,10 +45,8 @@ class Statement(object):
|
|||||||
|
|
||||||
_routing_key = None
|
_routing_key = None
|
||||||
|
|
||||||
def __init__(self, retry_policy=None, tracing_enabled=False,
|
def __init__(self, retry_policy=None, consistency_level=None, routing_key=None):
|
||||||
consistency_level=None, routing_key=None):
|
|
||||||
self.retry_policy = retry_policy
|
self.retry_policy = retry_policy
|
||||||
self.tracing_enabled = tracing_enabled
|
|
||||||
if consistency_level is not None:
|
if consistency_level is not None:
|
||||||
self.consistency_level = consistency_level
|
self.consistency_level = consistency_level
|
||||||
self._routing_key = routing_key
|
self._routing_key = routing_key
|
||||||
|
|||||||
Reference in New Issue
Block a user