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

Method get_default

cassandra/cqlengine/columns.py:263–268  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

261 return not self.primary_key
262
263 def get_default(self):
264 if self.has_default:
265 if callable(self.default):
266 return self.default()
267 else:
268 return self.default
269
270 def get_column_def(self):
271 """

Callers 6

changedMethod · 0.80
changedMethod · 0.80
__init__Method · 0.80
validateMethod · 0.80
__init__Method · 0.80
validateMethod · 0.80

Calls 1

defaultMethod · 0.80

Tested by

no test coverage detected