mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-07 18:27:52 +02:00
fix(channels): align DiffChannel.is_available with BinaryOperatorAggregate
This commit is contained in:
@@ -142,7 +142,7 @@ class DiffChannel(Generic[Value], BaseChannel[list[Value], Value, DiffDelta]):
|
||||
return self.value
|
||||
|
||||
def is_available(self) -> bool:
|
||||
return self.value is not MISSING and self.value is not None
|
||||
return self.value is not MISSING
|
||||
|
||||
def checkpoint(self) -> DiffDelta:
|
||||
return DiffDelta(
|
||||
|
||||
Reference in New Issue
Block a user