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

Method column_family_name

cassandra/cqlengine/named.py:127–135  ·  view source on GitHub ↗

Returns the column family name if it's been defined otherwise, it creates it from the module and class name

(self, include_keyspace=True)

Source from the content-addressed store, hash-verified

125 return NamedColumn(name)
126
127 def column_family_name(self, include_keyspace=True):
128 """
129 Returns the column family name if it's been defined
130 otherwise, it creates it from the module and class name
131 """
132 if include_keyspace:
133 return '{0}.{1}'.format(self.keyspace, self.name)
134 else:
135 return self.name
136
137 def _get_column(self, name):
138 """

Callers 1

_get_partition_keysMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected