Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
drop
Method · 0.95
_delete
Method · 0.95
__delete__
Method · 0.95
test_database
Method · 0.80
Calls
2
commit
Method · 0.80
close
Method · 0.45
Tested by
1
test_database
Method · 0.64