MCPcopy
hub / github.com/llmware-ai/llmware / close

Method close

llmware/resources.py:1929–1932  ·  view source on GitHub ↗

Closes Postgres connection

(self)

Source from the content-addressed store, hash-verified

1927 return 0
1928
1929 def close(self):
1930 """Closes Postgres connection"""
1931 self.conn.close()
1932 return 0
1933
1934
1935class SQLiteRetrieval:

Callers 15

closeMethod · 0.45
closeMethod · 0.45
test_connectionMethod · 0.45
lookupMethod · 0.45
embedding_key_lookupMethod · 0.45
basic_queryMethod · 0.45
filter_by_keyMethod · 0.45
get_distinct_listMethod · 0.45
filter_by_key_dictMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_connectionMethod · 0.36