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

Method get_control_connection_host

cassandra/cluster.py:2144–2150  ·  view source on GitHub ↗

Returns the control connection host metadata.

(self)

Source from the content-addressed store, hash-verified

2142 return None
2143
2144 def get_control_connection_host(self):
2145 """
2146 Returns the control connection host metadata.
2147 """
2148 connection = self.control_connection._connection
2149 endpoint = connection.endpoint if connection else None
2150 return self.metadata.get_host(endpoint) if endpoint else None
2151
2152 def refresh_schema_metadata(self, max_schema_agreement_wait=None):
2153 """

Calls 1

get_hostMethod · 0.45