[PR #555] [MERGED] Support returning non-dict objects as state updates from nodes #1536

Closed
opened 2026-02-20 17:44:59 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/555
Author: @nfcampos
Created: 5/30/2024
Status: Merged
Merged: 5/30/2024
Merged by: @nfcampos

Base: mainHead: nc/30may/return-state-model


📝 Commits (2)

  • e4c3224 Support returning non-dict objects as state updates from nodes
  • d713f84 Lint

📊 Changes

3 files changed (+18 additions, -5 deletions)

View changed files

📝 langgraph/graph/state.py (+6 -3)
📝 tests/test_pregel.py (+6 -1)
📝 tests/test_pregel_async.py (+6 -1)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/555 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/30/2024 **Status:** ✅ Merged **Merged:** 5/30/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/30may/return-state-model` --- ### 📝 Commits (2) - [`e4c3224`](https://github.com/langchain-ai/langgraph/commit/e4c32248aa3ee70ba2a3aca13beb149da1a5925b) Support returning non-dict objects as state updates from nodes - [`d713f84`](https://github.com/langchain-ai/langgraph/commit/d713f849f48e00ec2221b185277355bf5bacf8e0) Lint ### 📊 Changes **3 files changed** (+18 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/graph/state.py` (+6 -3) 📝 `tests/test_pregel.py` (+6 -1) 📝 `tests/test_pregel_async.py` (+6 -1) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:44:59 -05:00
yindo closed this issue 2026-02-20 17:44:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1536