This commit is contained in:
Nuno Campos
2024-09-19 08:51:15 -07:00
parent 6c0339ca4b
commit 95304d658a
@@ -184,7 +184,8 @@ class AsyncSqliteSaver(BaseCheckpointSaver[str]):
while True:
try:
yield asyncio.run_coroutine_threadsafe(
anext(aiter_), self.loop
anext(aiter_), # type: ignore[name-defined]
self.loop,
).result()
except StopAsyncIteration:
break