[PR #1228] [MERGED] checkpoint: stop using sqlite checkpointers as context managers, make memorysaver a context manager #1961

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

📋 Pull Request Information

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

Base: mainHead: vb/update-sqlite


📝 Commits (4)

  • 64c3050 checkpoint-sqlite: stop using checkpointers as context managers, use contextmanager only in from_conn_string
  • 55717c9 update memory saver + tests
  • 9aaa73c undo comment
  • 566e6c9 fix

📊 Changes

5 files changed (+82 additions, -108 deletions)

View changed files

📝 libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py (+15 -26)
📝 libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py (+9 -20)
📝 libs/checkpoint/langgraph/checkpoint/memory.py (+27 -1)
📝 libs/langgraph/tests/test_pregel.py (+6 -25)
📝 libs/langgraph/tests/test_pregel_async.py (+25 -36)

📄 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/1228 **Author:** [@vbarda](https://github.com/vbarda) **Created:** 8/5/2024 **Status:** ✅ Merged **Merged:** 8/5/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `vb/update-sqlite` --- ### 📝 Commits (4) - [`64c3050`](https://github.com/langchain-ai/langgraph/commit/64c30508d92d12220b0dcaa13c892455411e1680) checkpoint-sqlite: stop using checkpointers as context managers, use contextmanager only in from_conn_string - [`55717c9`](https://github.com/langchain-ai/langgraph/commit/55717c9bdef661c561871c1771b8bed697adcbb4) update memory saver + tests - [`9aaa73c`](https://github.com/langchain-ai/langgraph/commit/9aaa73cc5579f019c3460d0fa4cb624da16328ec) undo comment - [`566e6c9`](https://github.com/langchain-ai/langgraph/commit/566e6c9b60c1da8ab54641315f77f2bd45fe114b) fix ### 📊 Changes **5 files changed** (+82 additions, -108 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py` (+15 -26) 📝 `libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py` (+9 -20) 📝 `libs/checkpoint/langgraph/checkpoint/memory.py` (+27 -1) 📝 `libs/langgraph/tests/test_pregel.py` (+6 -25) 📝 `libs/langgraph/tests/test_pregel_async.py` (+25 -36) </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:45:58 -05:00
yindo closed this issue 2026-02-20 17:45:58 -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#1961