MCPcopy Index your code
hub / github.com/clips/pattern / disconnect

Method disconnect

pattern/db/__init__.py:486–490  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

484 sqlite.converters["TIMESTAMP"] = date
485
486 def disconnect(self):
487 if self._connection is not None:
488 self._connection.commit()
489 self._connection.close()
490 self._connection = None
491
492 @property
493 def connection(self):

Callers 4

dropMethod · 0.95
_deleteMethod · 0.95
__delete__Method · 0.95
test_databaseMethod · 0.80

Calls 2

commitMethod · 0.80
closeMethod · 0.45

Tested by 1

test_databaseMethod · 0.64