bulk_update_state(
self,
config: RunnableConfig,
supersteps: Sequence[Sequence[StateUpdate]]
)| Name | Type | Description |
|---|---|---|
config* | RunnableConfig | |
supersteps* | Sequence[Sequence[StateUpdate]] |
Apply updates to the graph state in bulk. Requires a checkpointer to be set.
The config to apply the updates to.
A list of supersteps, each including a list of updates to apply sequentially to a graph state.
Each update is a tuple of the form (values, as_node, task_id) where task_id is optional.