Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Freedium-cfd/web
/ ensure_connection
Method
ensure_connection
database-lib/database_lib/main.py:131–133 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
129
self.enable_zstd()
130
131
def
ensure_connection(self):
132
if
self.connection is None or self.cursor is None:
133
self.connect()
134
135
def
all(self):
136
self.ensure_connection()
Callers
10
all
Method · 0.95
all_length
Method · 0.95
random
Method · 0.95
enable_zstd
Method · 0.95
init_db
Method · 0.95
pull
Method · 0.95
push
Method · 0.95
delete
Method · 0.95
_generate_test_data
Method · 0.95
show_schema_info
Method · 0.95
Calls
1
connect
Method · 0.95
Tested by
no test coverage detected