Type variable used to represent the state in a graph.
Type variable used to represent graph run scoped context.
Defaults to None.
Type variable used to represent the input to a StateGraph.
Defaults to StateT.
Type variable used to represent the output of a StateGraph.
Defaults to StateT.
Type variable used to represent the input to a node.
Type alias for state-like types.
It can either be a TypedDict, dataclass, or Pydantic BaseModel.
Note: we cannot use either TypedDict or dataclass directly due to limitations in type checking.