[PR #1521] [MERGED] checkpoint: Avoid changes to pydantic models breaking deserialization while still relying on pydantic's type coercion #2126

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

📋 Pull Request Information

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

Base: mainHead: nc/28aug/pydantic-serialization


📝 Commits (3)

  • 5db13df checkpoint: Avoid changes to pydantic models breaking deserialization while still relying on pydantic's type coercion
  • af1f218 Try init, then construct
  • ca4ebe1 Update tests

📊 Changes

2 files changed (+26 additions, -17 deletions)

View changed files

📝 libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py (+25 -16)
📝 libs/checkpoint/tests/test_jsonplus.py (+1 -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/1521 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 8/28/2024 **Status:** ✅ Merged **Merged:** 8/30/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/28aug/pydantic-serialization` --- ### 📝 Commits (3) - [`5db13df`](https://github.com/langchain-ai/langgraph/commit/5db13dffbee160cd2b879634fb3cbdd3bbfa234e) checkpoint: Avoid changes to pydantic models breaking deserialization while still relying on pydantic's type coercion - [`af1f218`](https://github.com/langchain-ai/langgraph/commit/af1f218e00f649e0bf9ceff0625e5bc0ecf2da0a) Try init, then construct - [`ca4ebe1`](https://github.com/langchain-ai/langgraph/commit/ca4ebe10317f4c099e192fe4b56f4ad11b536892) Update tests ### 📊 Changes **2 files changed** (+26 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py` (+25 -16) 📝 `libs/checkpoint/tests/test_jsonplus.py` (+1 -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:46:21 -05:00
yindo closed this issue 2026-02-20 17:46:21 -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#2126