MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / default_timeout

Method default_timeout

cassandra/cluster.py:2366–2379  ·  view source on GitHub ↗

A default timeout, measured in seconds, for queries executed through :meth:`.execute()` or :meth:`.execute_async()`. This default may be overridden with the `timeout` parameter for either of those methods. Setting this to :const:`None` will cause no timeouts to be

(self)

Source from the content-addressed store, hash-verified

2364
2365 @property
2366 def default_timeout(self):
2367 """
2368 A default timeout, measured in seconds, for queries executed through
2369 :meth:`.execute()` or :meth:`.execute_async()`. This default may be
2370 overridden with the `timeout` parameter for either of those methods.
2371
2372 Setting this to :const:`None` will cause no timeouts to be set by default.
2373
2374 Please see :meth:`.ResponseFuture.result` for details on the scope and
2375 effect of this timeout.
2376
2377 .. versionadded:: 2.0.0
2378 """
2379 return self._default_timeout
2380
2381 @default_timeout.setter
2382 def default_timeout(self, timeout):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected