CompiledStateGraph(
self,
*,
builder: StateGraph[StateT, ContextT, InputT, OutputT],
schema_to_mapper: Whether to force emitting stream events eagerly, automatically turned on
Return a drawable representation of the computation graph.
Return a drawable representation of the computation graph.
Create a copy of the Pregel object with an updated config.
Get the subgraphs of the graph.
Get the subgraphs of the graph.
Get the current state of the graph.
Get the current state of the graph.
Get the history of the state of the graph.
Asynchronously get the history of the state of the graph.
Apply updates to the graph state in bulk. Requires a checkpointer to be set.
Asynchronously apply updates to the graph state in bulk. Requires a checkpointer to be set.
Update the state of the graph with the given values, as if they came from
Asynchronously update the state of the graph with the given values, as if they came from
Stream graph steps for a single input.
Asynchronously stream graph steps for a single input.
Run the graph with a single input and config.
Asynchronously run the graph with a single input and config.
Clear the cache for the given nodes.
Asynchronously clear the cache for the given nodes.