Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cassandra-python-driver
/ get_session
Function
get_session
cassandra/cqlengine/connection.py:359–361 ·
view source on GitHub ↗
(connection=None)
Source
from the content-addressed store, hash-verified
357
358
359
def
get_session(connection=None):
360
conn = get_connection(connection)
361
return
conn.session
362
363
364
def
get_cluster(connection=None):
Callers
13
setUp
Method · 0.90
test_ttl_included_on_create
Method · 0.90
test_update_includes_ttl
Method · 0.90
test_ttl_is_include_with_query_on_update
Method · 0.90
test_ttl_included_with_blind_update
Method · 0.90
get_default_ttl
Method · 0.90
test_default_ttl_not_set
Method · 0.90
test_default_ttl_set
Method · 0.90
test_default_ttl_modify
Method · 0.90
test_override_default_ttl
Method · 0.90
test_delete_on_subclass_does_not_include_disc_value
Method · 0.90
test_paged_result_handling
Method · 0.90
Calls
1
get_connection
Function · 0.85
Tested by
12
test_ttl_included_on_create
Method · 0.72
test_update_includes_ttl
Method · 0.72
test_ttl_is_include_with_query_on_update
Method · 0.72
test_ttl_included_with_blind_update
Method · 0.72
get_default_ttl
Method · 0.72
test_default_ttl_not_set
Method · 0.72
test_default_ttl_set
Method · 0.72
test_default_ttl_modify
Method · 0.72
test_override_default_ttl
Method · 0.72
test_delete_on_subclass_does_not_include_disc_value
Method · 0.72
test_paged_result_handling
Method · 0.72
test_static_columns
Method · 0.72