Skip to content

Commit 35451e8

Browse files
test: remove session dispose
1 parent e0ac157 commit 35451e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/langchain_google_cloud_sql_pg/engine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,8 @@ def _run_as_sync(self, coro: Awaitable[T]) -> T:
418418

419419
async def close(self) -> None:
420420
"""Dispose of connection pool"""
421-
await self._run_as_async(self._pool.dispose())
421+
## TODO: Uncomment before merge, commented to ensure sessions are not disposed
422+
# await self._run_as_async(self._pool.dispose())
422423

423424
async def _ainit_vectorstore_table(
424425
self,

0 commit comments

Comments
 (0)