MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / close

Method close

AskAgent/python/retrieval_providers/postgres_client.py:194–197  ·  view source on GitHub ↗

Close the connection pool when done

(self)

Source from the content-addressed store, hash-verified

192 return self._pool
193
194 async def close(self):
195 """Close the connection pool when done"""
196 if self._pool:
197 await self._pool.close()
198
199 async def _execute_with_retry(self, query_func, max_retries=3, initial_backoff=0.1):
200 """

Callers 1

setup_postgres_schemaFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected