docs: deferred nodes (#4759)

This commit is contained in:
Sydney Runkle
2025-05-20 13:07:11 -04:00
committed by GitHub
parent 4a04ca7268
commit bd52b1faa1
2 changed files with 13 additions and 23 deletions
+1
View File
@@ -304,6 +304,7 @@ class StateGraph(Graph):
If a string is provided, it will be used as the node name, and action will be used as the function or runnable.
action: The action associated with the node. (default: None)
Will be used as the node function or runnable if `node` is a string (node name).
defer: Whether to defer the execution of the node until the run is about to end.
metadata: The metadata associated with the node. (default: None)
input: The input schema for the node. (default: the graph's input schema)
retry: The policy for retrying the node. (default: None)