[PR #305] [MERGED] Make ser/de configurable in checkpointer classes #1369

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/305
Author: @nfcampos
Created: 4/12/2024
Status: Merged
Merged: 4/12/2024
Merged by: @nfcampos

Base: mainHead: nc/12apr/configurable-serde


📝 Commits (2)

  • 74a40a8 Make ser/de configurable in checkpointer classes
  • f5a7c01 py39

📊 Changes

6 files changed (+179 additions, -84 deletions)

View changed files

📝 langgraph/checkpoint/__init__.py (+8 -2)
📝 langgraph/checkpoint/aiosqlite.py (+24 -9)
📝 langgraph/checkpoint/base.py (+34 -20)
📝 langgraph/checkpoint/memory.py (+61 -24)
📝 langgraph/checkpoint/sqlite.py (+25 -23)
📝 tests/memory_assert.py (+27 -6)

📄 Description

  • Remove pydantic usage from base checkpointer class
  • Make serialization configurable for all existing checkpointer classes, you can eg use dill or json instead of pickle

🔄 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/305 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 4/12/2024 **Status:** ✅ Merged **Merged:** 4/12/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/12apr/configurable-serde` --- ### 📝 Commits (2) - [`74a40a8`](https://github.com/langchain-ai/langgraph/commit/74a40a895a3363b3396f50ae3b19a3774984ce99) Make ser/de configurable in checkpointer classes - [`f5a7c01`](https://github.com/langchain-ai/langgraph/commit/f5a7c01e886b1b78279e681a4a551419ed8a2708) py39 ### 📊 Changes **6 files changed** (+179 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/checkpoint/__init__.py` (+8 -2) 📝 `langgraph/checkpoint/aiosqlite.py` (+24 -9) 📝 `langgraph/checkpoint/base.py` (+34 -20) 📝 `langgraph/checkpoint/memory.py` (+61 -24) 📝 `langgraph/checkpoint/sqlite.py` (+25 -23) 📝 `tests/memory_assert.py` (+27 -6) </details> ### 📄 Description - Remove pydantic usage from base checkpointer class - Make serialization configurable for all existing checkpointer classes, you can eg use dill or json instead of pickle --- <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:33 -05:00
yindo closed this issue 2026-02-20 17:44:33 -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#1369