Create a run, wait until it finishes and return the final state.
invoke(
self,
input: dict[str, Any] | Any,
config: RunnableConfig | None = None,
*,
interrupt_before: All | Sequence[str] | None = None,
interrupt_after: All | Sequence[str] | None = None,
headers: dict[str, str] | None = None,
params: QueryParamTypes | None = None,
**kwargs: Any = {}
) -> dict[str, Any] | Any| Name | Type | Description |
|---|---|---|
input* | dict[str, Any] | Any | Input to the graph. |
config | RunnableConfig | None | Default: NoneA |
interrupt_before | All | Sequence[str] | None | Default: NoneInterrupt the graph before these nodes. |
interrupt_after | All | Sequence[str] | None | Default: NoneInterrupt the graph after these nodes. |
headers | dict[str, str] | None | Default: NoneAdditional headers to pass to the request. |
**kwargs | Any | Default: {}Additional params to pass to RemoteGraph.stream. |