Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
changed
Method · 0.80
changed
Method · 0.80
__init__
Method · 0.80
validate
Method · 0.80
__init__
Method · 0.80
validate
Method · 0.80
Calls
1
default
Method · 0.80
Tested by
no test coverage detected