mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 07:32:25 +02:00
lib: Fix incorrect default for Command.update
- this should not default to empty tuple, it should default to None
This commit is contained in:
committed by
William Fu-Hinthorn
parent
51c57cc819
commit
e20bd15580
@@ -271,7 +271,7 @@ class Command(Generic[N], ToolOutputMixin):
|
||||
"""
|
||||
|
||||
graph: Optional[str] = None
|
||||
update: Any = ()
|
||||
update: Optional[Any] = None
|
||||
resume: Optional[Union[Any, dict[str, Any]]] = None
|
||||
goto: Union[Send, Sequence[Union[Send, str]], str] = ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user