mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-22 17:45:09 +02:00
Fix
This commit is contained in:
@@ -235,14 +235,13 @@ class Send:
|
||||
|
||||
|
||||
N = TypeVar("N", bound=Hashable)
|
||||
PARENT = Literal["__parent__"]
|
||||
|
||||
|
||||
@dataclasses.dataclass(**_DC_KWARGS)
|
||||
class Command(Generic[N]):
|
||||
"""One or more commands to update the graph's state and send messages to nodes."""
|
||||
|
||||
graph: Optional[Union[PARENT, str]] = None
|
||||
graph: Optional[str] = None
|
||||
update: Optional[dict[str, Any]] = None
|
||||
send: Union[Send, Sequence[Send]] = ()
|
||||
resume: Optional[Union[Any, dict[str, Any]]] = None
|
||||
|
||||
Reference in New Issue
Block a user