mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-08 02:37:52 +02:00
langgraph: relax type annotation for Command.update (#2777)
Addresses #2758 , #2747
This commit is contained in:
@@ -271,7 +271,7 @@ class Command(Generic[N], ToolOutputMixin):
|
||||
"""
|
||||
|
||||
graph: Optional[str] = None
|
||||
update: Union[dict[str, Any], Sequence[tuple[str, Any]]] = ()
|
||||
update: Any = ()
|
||||
resume: Optional[Union[Any, dict[str, Any]]] = None
|
||||
goto: Union[Send, Sequence[Union[Send, str]], str] = ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user