This commit is contained in:
vbarda
2025-04-14 13:23:26 -04:00
parent 9a45a5b0f2
commit 0e111b2f44
+2 -2
View File
@@ -7259,8 +7259,8 @@ def test_pydantic_state_update_command() -> None:
assert graph.invoke({"foo": ""}) == {"foo": None}
class State(BaseModel):
foo: str | None = None
bar: str | None = None
foo: Optional[str] = None
bar: Optional[str] = None
def node_a(state: State):
return State(foo="foo")