MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / __init__

Method __init__

cassandra/io/geventreactor.py:72–81  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

70 timer_event.clear()
71
72 def __init__(self, *args, **kwargs):
73 Connection.__init__(self, *args, **kwargs)
74
75 self._write_queue = Queue()
76
77 self._connect_socket()
78
79 self._read_watcher = gevent.spawn(self.handle_read)
80 self._write_watcher = gevent.spawn(self.handle_write)
81 self._send_options_message()
82
83 def close(self):
84 with self.lock:

Callers

nothing calls this directly

Calls 2

_connect_socketMethod · 0.80
_send_options_messageMethod · 0.80

Tested by

no test coverage detected