From 779553f4aacd50d9dfe0d8881c694f89c7552ddf Mon Sep 17 00:00:00 2001 From: Mathieu <34446722+Mathieuka@users.noreply.github.com> Date: Wed, 12 Mar 2025 17:14:07 +0000 Subject: [PATCH] docs: fix state type in Persistence documentation (#3801) This PR fixes the type of `foo` in the `State` class in Persistence documentation. The type was previously defined as `int`, but the code uses it as a `str`. Updated the type of `foo` in the documentation to `str` to match its actual usage in the code. No changes to the functionality or codebase, only a documentation fix. --- docs/docs/concepts/persistence.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/concepts/persistence.md b/docs/docs/concepts/persistence.md index 7f4519e3f..a7684cc2a 100644 --- a/docs/docs/concepts/persistence.md +++ b/docs/docs/concepts/persistence.md @@ -32,7 +32,7 @@ from typing_extensions import TypedDict from operator import add class State(TypedDict): - foo: int + foo: str bar: Annotated[list[str], add] def node_a(state: State):