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

Function _get_table_metadata

cassandra/cqlengine/management.py:428–434  ·  view source on GitHub ↗
(model, connection=None)

Source from the content-addressed store, hash-verified

426
427
428def _get_table_metadata(model, connection=None):
429 # returns the table as provided by the native driver for a given model
430 cluster = get_cluster(connection)
431 ks = model._get_keyspace()
432 table = model._raw_column_family_name()
433 table = cluster.metadata.keyspaces[ks].tables[table]
434 return table
435
436
437def _options_map_from_strings(option_strings):

Callers 6

test_alter_optionsMethod · 0.90
test_add_columnMethod · 0.90
_update_optionsFunction · 0.85

Calls 3

get_clusterFunction · 0.90
_get_keyspaceMethod · 0.80

Tested by 5

test_alter_optionsMethod · 0.72
test_add_columnMethod · 0.72