[PR #128] [MERGED] Add get_state() and update_state() methods to get and update checkpoint in between runs, Add debug arg to Graph/StateGraph #1254

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/128
Author: @nfcampos
Created: 2/20/2024
Status: Merged
Merged: 2/25/2024
Merged by: @nfcampos

Base: mainHead: nc/20feb/state-api


📝 Commits (8)

📊 Changes

14 files changed (+1545 additions, -103 deletions)

View changed files

📝 Makefile (+1 -1)
📝 langgraph/channels/base.py (+8 -8)
📝 langgraph/checkpoint/base.py (+11 -0)
📝 langgraph/constants.py (+1 -0)
📝 langgraph/graph/graph.py (+12 -4)
📝 langgraph/graph/state.py (+5 -4)
📝 langgraph/pregel/__init__.py (+299 -66)
📝 langgraph/pregel/reserved.py (+3 -0)
📝 langgraph/pregel/validate.py (+8 -3)
📝 poetry.lock (+5 -6)
📝 pyproject.toml (+7 -1)
tests/memory_assert.py (+19 -0)
📝 tests/test_pregel.py (+578 -5)
📝 tests/test_pregel_async.py (+588 -5)

📄 Description

  • Decide on what to do with interrupt_before arg

🔄 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/128 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 2/20/2024 **Status:** ✅ Merged **Merged:** 2/25/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/20feb/state-api` --- ### 📝 Commits (8) - [`fdb273b`](https://github.com/langchain-ai/langgraph/commit/fdb273b0f430c47ecaa845297f82b25d613aae71) Add get_state() and update_state() methods to get and update checkpoint in between runs - [`38cd934`](https://github.com/langchain-ai/langgraph/commit/38cd934f380157248230940fe78a778e8f172e9b) Lint - [`82c704e`](https://github.com/langchain-ai/langgraph/commit/82c704e57e21812271a96b7d0f4b9db814c119f7) Lint - [`5c2afc9`](https://github.com/langchain-ai/langgraph/commit/5c2afc94180b36f521429c073264eb8bf32dab1d) Fix behaviour of interrupt_before - [`27cf03a`](https://github.com/langchain-ai/langgraph/commit/27cf03a444bd818a837626d9730bf0bc3bdde6fe) Lint - [`60097c5`](https://github.com/langchain-ai/langgraph/commit/60097c5f1d23e6682d0d9240d1f18fdc1da86091) Remove class - [`28aee50`](https://github.com/langchain-ai/langgraph/commit/28aee50a9fd2f13ff60cf9aa7b4e635193850b9c) Lint - [`515a512`](https://github.com/langchain-ai/langgraph/commit/515a512f7e31651accf3e2e71dd9d3be91aaa0a6) Expose additional kwargs ### 📊 Changes **14 files changed** (+1545 additions, -103 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+1 -1) 📝 `langgraph/channels/base.py` (+8 -8) 📝 `langgraph/checkpoint/base.py` (+11 -0) 📝 `langgraph/constants.py` (+1 -0) 📝 `langgraph/graph/graph.py` (+12 -4) 📝 `langgraph/graph/state.py` (+5 -4) 📝 `langgraph/pregel/__init__.py` (+299 -66) 📝 `langgraph/pregel/reserved.py` (+3 -0) 📝 `langgraph/pregel/validate.py` (+8 -3) 📝 `poetry.lock` (+5 -6) 📝 `pyproject.toml` (+7 -1) ➕ `tests/memory_assert.py` (+19 -0) 📝 `tests/test_pregel.py` (+578 -5) 📝 `tests/test_pregel_async.py` (+588 -5) </details> ### 📄 Description - [x] Decide on what to do with interrupt_before arg --- <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:17 -05:00
yindo closed this issue 2026-02-20 17:44:17 -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#1254