Skip to content

Commit

Permalink
langgraph: relax type annotation for Command.update (#2777)
Browse files Browse the repository at this point in the history
Addresses #2758 , #2747
  • Loading branch information
vbarda authored Dec 16, 2024
1 parent 9cbef9b commit d2794ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langgraph/langgraph/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = ()

Expand Down

0 comments on commit d2794ed

Please sign in to comment.