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

Function get_cluster

cassandra/cqlengine/connection.py:364–368  ·  view source on GitHub ↗
(connection=None)

Source from the content-addressed store, hash-verified

362
363
364def get_cluster(connection=None):
365 conn = get_connection(connection)
366 if not conn.cluster:
367 raise CQLEngineException("%s.cluster is not configured. Call one of the setup or default functions first." % __name__)
368 return conn.cluster
369
370
371def register_udt(keyspace, type_name, klass, connection=None):

Callers 9

__create_keyspaceFunction · 0.90
_drop_keyspaceFunction · 0.90
_sync_tableFunction · 0.90
_sync_typeFunction · 0.90
_get_table_metadataFunction · 0.90
_drop_tableFunction · 0.90
_get_partition_keysMethod · 0.90
register_udtFunction · 0.70

Calls 2

CQLEngineExceptionClass · 0.90
get_connectionFunction · 0.85

Tested by 1