mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
Update libs/langgraph/langgraph/utils/future.py
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
This commit is contained in:
co-authored by
William FH
parent
c7c62f5587
commit
fca0d2d5bb
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user