From 95304d658a964edb46c0197b96bfbbb5803588a8 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Thu, 19 Sep 2024 08:51:15 -0700 Subject: [PATCH] Fix 3.9 --- libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py b/libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py index fdf3e5e88..22a64913d 100644 --- a/libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py +++ b/libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py @@ -184,7 +184,8 @@ def list( while True: try: yield asyncio.run_coroutine_threadsafe( - anext(aiter_), self.loop + anext(aiter_), # type: ignore[name-defined] + self.loop, ).result() except StopAsyncIteration: break