MCPcopy Create free account
hub / github.com/Freedium-cfd/web / close

Method close

database-lib/database_lib/main.py:281–285  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

279 return self.connection.execute("SELECT sql FROM sqlite_master").fetchall()
280
281 def close(self):
282 if self.connection:
283 self.connection.close()
284 self.connection = None
285 self.cursor = None
286
287 def __del__(self):
288 self.close()

Callers 8

__del__Method · 0.95
migrate_to_postgresFunction · 0.95
tearDownClassMethod · 0.45
maintenanceMethod · 0.45
closeMethod · 0.45
wait_for_postgresFunction · 0.45
lifespanFunction · 0.45
worker_abortFunction · 0.45

Calls

no outgoing calls

Tested by 1

tearDownClassMethod · 0.36