mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-31 04:09:49 +02:00
Fix lint error.
This commit is contained in:
@@ -54,7 +54,9 @@ class EphemeralValue(Generic[Value], BaseChannel[Value, Value, Value]):
|
||||
finally:
|
||||
return
|
||||
if len(values) != 1 and self.guard:
|
||||
raise InvalidUpdateError("EphemeralValue can only receive one value per step.")
|
||||
raise InvalidUpdateError(
|
||||
"EphemeralValue can only receive one value per step."
|
||||
)
|
||||
|
||||
self.value = values[-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user