Skip to content

Commit

Permalink
Less fun
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Sep 18, 2024
1 parent 3a2a4e4 commit 2a769fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/langgraph/langgraph/pregel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,8 @@ def output() -> Iterator:
def get_waiter() -> asyncio.Task[None]:
nonlocal waiter
if waiter is None or waiter.done():
return (waiter := loop.submit(stream.wait))
waiter = loop.submit(stream.wait)
return waiter
else:
return waiter
else:
Expand Down

0 comments on commit 2a769fb

Please sign in to comment.