Remove ignored tracing_enabled param of SimpleStatement

This commit is contained in:
Tyler Hobbs
2014-02-21 12:22:26 -06:00
parent cc1489c925
commit ba896f0ed1
2 changed files with 7 additions and 3 deletions

View File

@@ -9,6 +9,12 @@ Bug Fixes
became available to read on the socket, the message would never be processed,
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
=====
Feb 19, 2014

View File

@@ -45,10 +45,8 @@ class Statement(object):
_routing_key = None
def __init__(self, retry_policy=None, tracing_enabled=False,
consistency_level=None, routing_key=None):
def __init__(self, retry_policy=None, consistency_level=None, routing_key=None):
self.retry_policy = retry_policy
self.tracing_enabled = tracing_enabled
if consistency_level is not None:
self.consistency_level = consistency_level
self._routing_key = routing_key