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

Method create

cassandra/connection.py:319–325  ·  view source on GitHub ↗
(self, row)

Source from the content-addressed store, hash-verified

317 self._init_index = -1
318
319 def create(self, row):
320 host_id = row.get("host_id")
321 if host_id is None:
322 raise ValueError("No host_id to create the SniEndPoint")
323
324 self._init_index += 1
325 return SniEndPoint(self._proxy_address, str(host_id), self._port, self._init_index)
326
327 def create_from_sni(self, sni):
328 self._init_index += 1

Calls 2

SniEndPointClass · 0.85
getMethod · 0.45