Update libs/langgraph/langgraph/utils/future.py

Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
This commit is contained in:
Nuno Campos
2025-01-21 09:43:12 -08:00
committed by GitHub
co-authored by William FH
parent c7c62f5587
commit fca0d2d5bb
+2 -1
View File
@@ -152,7 +152,8 @@ def _ensure_future(
called_wrap_awaitable = True
else:
raise TypeError(
"An asyncio.Future, a coroutine or an awaitable is required"
"An asyncio.Future, a coroutine or an awaitable is required."
f" Got {type(future).__name__} instead."
)
try: