MCPcopy 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

allMethod · 0.95
all_lengthMethod · 0.95
randomMethod · 0.95
enable_zstdMethod · 0.95
init_dbMethod · 0.95
pullMethod · 0.95
pushMethod · 0.95
deleteMethod · 0.95
_generate_test_dataMethod · 0.95
show_schema_infoMethod · 0.95

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected