[PR #1347] [CLOSED] langgraph: allow updating subgraph state on interrupts #2029

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1347
Author: @vbarda
Created: 8/14/2024
Status: Closed

Base: mainHead: vb/update-state-for-subgraphs


📝 Commits (10+)

  • a74f039 langgraph: allow updating subgraph state on interrupts
  • 23f71dd Merge branch 'vb/update-get-state' into vb/update-state-for-subgraphs
  • 271c7d9 correctly propagate all subgraph attributes
  • 2b10a34 add async
  • fcc7d3d Merge branch 'vb/update-get-state' into vb/update-state-for-subgraphs
  • e21677b handle writes for keys not in parent graph
  • b495df0 switch to lists
  • d9f5938 a better, recursive solution
  • 86b48cb bring back proper handling of values to write
  • 83251e5 better check

📊 Changes

8 files changed (+5548 additions, -814 deletions)

View changed files

📝 docs/_scripts/copy_notebooks.py (+1 -0)
📝 docs/docs/how-tos/index.md (+7 -0)
📝 docs/mkdocs.yml (+3 -1)
📝 examples/subgraph.ipynb (+631 -666)
examples/subgraphs-manage-state.ipynb (+712 -0)
📝 libs/langgraph/langgraph/pregel/__init__.py (+362 -147)
📝 libs/langgraph/tests/test_pregel.py (+1916 -0)
📝 libs/langgraph/tests/test_pregel_async.py (+1916 -0)

📄 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/1347 **Author:** [@vbarda](https://github.com/vbarda) **Created:** 8/14/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `vb/update-state-for-subgraphs` --- ### 📝 Commits (10+) - [`a74f039`](https://github.com/langchain-ai/langgraph/commit/a74f03955f3dcc40144841b78288c635f5d5436e) langgraph: allow updating subgraph state on interrupts - [`23f71dd`](https://github.com/langchain-ai/langgraph/commit/23f71dda551f6a7373eadcf812df7df1bb7a8def) Merge branch 'vb/update-get-state' into vb/update-state-for-subgraphs - [`271c7d9`](https://github.com/langchain-ai/langgraph/commit/271c7d9dc3646284ece6cdd9dd49d66ff792b96e) correctly propagate all subgraph attributes - [`2b10a34`](https://github.com/langchain-ai/langgraph/commit/2b10a34d1fd27f94daca28e3e3c58530c36c9a59) add async - [`fcc7d3d`](https://github.com/langchain-ai/langgraph/commit/fcc7d3d9eb3e7305dcf4cd8ff78e40ad64c0bbb5) Merge branch 'vb/update-get-state' into vb/update-state-for-subgraphs - [`e21677b`](https://github.com/langchain-ai/langgraph/commit/e21677b77095033f4aab14805e81bdeccbc9e6df) handle writes for keys not in parent graph - [`b495df0`](https://github.com/langchain-ai/langgraph/commit/b495df0498d0202452c351d9e603671cd3b34c16) switch to lists - [`d9f5938`](https://github.com/langchain-ai/langgraph/commit/d9f59388e6a41731fb0a62a406d8d416b8484268) a better, recursive solution - [`86b48cb`](https://github.com/langchain-ai/langgraph/commit/86b48cb49ed71d445bd0e2a2e543eb16689c061b) bring back proper handling of values to write - [`83251e5`](https://github.com/langchain-ai/langgraph/commit/83251e58c7e5fd1459cf73cb4fb30e90faa3d079) better check ### 📊 Changes **8 files changed** (+5548 additions, -814 deletions) <details> <summary>View changed files</summary> 📝 `docs/_scripts/copy_notebooks.py` (+1 -0) 📝 `docs/docs/how-tos/index.md` (+7 -0) 📝 `docs/mkdocs.yml` (+3 -1) 📝 `examples/subgraph.ipynb` (+631 -666) ➕ `examples/subgraphs-manage-state.ipynb` (+712 -0) 📝 `libs/langgraph/langgraph/pregel/__init__.py` (+362 -147) 📝 `libs/langgraph/tests/test_pregel.py` (+1916 -0) 📝 `libs/langgraph/tests/test_pregel_async.py` (+1916 -0) </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:46:07 -05:00
yindo closed this issue 2026-02-20 17:46:07 -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#2029