Skip to content

Commit 01549d4

Browse files
authored
release: 0.0.16 (#263)
1 parent 396282f commit 01549d4

File tree

3 files changed

+1103
-877
lines changed

3 files changed

+1103
-877
lines changed

‎langchain_postgres/v2/engine.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def _run_as_async(self, coro: Awaitable[T]) -> T:
119119
return await coro
120120
# Otherwise, run in the background thread
121121
return await asyncio.wrap_future(
122-
asyncio.run_coroutine_threadsafe(coro, self._loop)
122+
asyncio.run_coroutine_threadsafe(coro, self._loop) # type: ignore[arg-type]
123123
)
124124

125125
def _run_as_sync(self, coro: Awaitable[T]) -> T:
@@ -128,7 +128,7 @@ def _run_as_sync(self, coro: Awaitable[T]) -> T:
128128
raise Exception(
129129
"Engine was initialized without a background loop and cannot call sync methods."
130130
)
131-
return asyncio.run_coroutine_threadsafe(coro, self._loop).result()
131+
return asyncio.run_coroutine_threadsafe(coro, self._loop).result() # type: ignore[arg-type]
132132

133133
async def close(self) -> None:
134134
"""Dispose of connection pool"""

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "langchain-postgres"
3-
version = "0.0.15"
3+
version = "0.0.16"
44
description = "An integration package connecting Postgres and LangChain"
55
authors = []
66
readme = "README.md"
@@ -9,7 +9,7 @@ requires-python = ">=3.9"
99
license = "MIT"
1010
dependencies = [
1111
"asyncpg>=0.30.0",
12-
"langchain-core>=0.2.13,<0.4.0",
12+
"langchain-core>=0.2.13,<2.0",
1313
"pgvector>=0.2.5,<0.4",
1414
"psycopg[binary]>=3,<4",
1515
"psycopg-pool>=3.2.1,<4",

0 commit comments

Comments
 (0)