[PR #1180] [MERGED] langgraph[patch]: update unit tests to handle AnyStr() for pydantic 2 models #1929

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1180
Author: @eyurtsev
Created: 7/31/2024
Status: Merged
Merged: 7/31/2024
Merged by: @nfcampos

Base: mainHead: eugene/add_any_id_handling


📝 Commits (1)

📊 Changes

4 files changed (+125 additions, -179 deletions)

View changed files

libs/langgraph/tests/messages.py (+42 -0)
📝 libs/langgraph/tests/test_prebuilt.py (+3 -2)
📝 libs/langgraph/tests/test_pregel.py (+56 -127)
📝 libs/langgraph/tests/test_pregel_async.py (+24 -50)

📄 Description

This PR works around an issue with pydantic 2.


🔄 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/1180 **Author:** [@eyurtsev](https://github.com/eyurtsev) **Created:** 7/31/2024 **Status:** ✅ Merged **Merged:** 7/31/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `eugene/add_any_id_handling` --- ### 📝 Commits (1) - [`5043aaf`](https://github.com/langchain-ai/langgraph/commit/5043aaf4fa9bfc191f01def6e79f074e7b463639) UPdate ### 📊 Changes **4 files changed** (+125 additions, -179 deletions) <details> <summary>View changed files</summary> ➕ `libs/langgraph/tests/messages.py` (+42 -0) 📝 `libs/langgraph/tests/test_prebuilt.py` (+3 -2) 📝 `libs/langgraph/tests/test_pregel.py` (+56 -127) 📝 `libs/langgraph/tests/test_pregel_async.py` (+24 -50) </details> ### 📄 Description This PR works around an issue with pydantic 2. --- <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:53 -05:00
yindo closed this issue 2026-02-20 17:45:53 -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#1929