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

Class WriteTimeout

cassandra/__init__.py:482–500  ·  view source on GitHub ↗

A subclass of :exc:`Timeout` for write operations. This indicates that the replicas failed to respond to the coordinator node before the configured timeout. This timeout is configured in ``cassandra.yaml`` with the ``write_request_timeout_in_ms`` option.

Source from the content-addressed store, hash-verified

480
481
482class WriteTimeout(Timeout):
483 """
484 A subclass of :exc:`Timeout` for write operations.
485
486 This indicates that the replicas failed to respond to the coordinator
487 node before the configured timeout. This timeout is configured in
488 ``cassandra.yaml`` with the ``write_request_timeout_in_ms``
489 option.
490 """
491
492 write_type = None
493 """
494 The type of write operation, enum on :class:`~cassandra.policies.WriteType`
495 """
496
497 def __init__(self, message, write_type=None, **kwargs):
498 kwargs["write_type"] = write_type
499 Timeout.__init__(self, message, **kwargs)
500 self.write_type = write_type
501
502
503class CDCWriteFailure(RequestExecutionException):

Callers 1

to_exceptionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected