mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-02 23:58:45 +02:00
Add sync support for the AsyncPostgresStore (#2673)
This commit is contained in:
@@ -155,9 +155,6 @@ class AsyncPostgresStore(AsyncBatchedBaseStore, BasePostgresStore[_ainternal.Con
|
||||
|
||||
return results
|
||||
|
||||
def batch(self, ops: Iterable[Op]) -> list[Result]:
|
||||
return asyncio.run_coroutine_threadsafe(self.abatch(ops), self.loop).result()
|
||||
|
||||
@classmethod
|
||||
@asynccontextmanager
|
||||
async def from_conn_string(
|
||||
|
||||
Reference in New Issue
Block a user