[PR #631] [MERGED] In Binop channels unwrap types before trying to instantiate #1578

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/631
Author: @nfcampos
Created: 6/9/2024
Status: Merged
Merged: 6/9/2024
Merged by: @nfcampos

Base: mainHead: nc/9jun/reducer-unwrap-special-types


📝 Commits (3)

  • 3b4fcf6 In Binop channels unwrap types before trying to instantiate
  • fbd3b63 Fix import
  • 2095ede One more

📊 Changes

2 files changed (+97 additions, -3 deletions)

View changed files

📝 langgraph/channels/binop.py (+32 -3)
📝 tests/test_pregel.py (+65 -0)

📄 Description

  • this makes List/Sequence annotations behave same as list

🔄 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/631 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 6/9/2024 **Status:** ✅ Merged **Merged:** 6/9/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/9jun/reducer-unwrap-special-types` --- ### 📝 Commits (3) - [`3b4fcf6`](https://github.com/langchain-ai/langgraph/commit/3b4fcf6ee6b84265a962a4df317d64f0b1c2a719) In Binop channels unwrap types before trying to instantiate - [`fbd3b63`](https://github.com/langchain-ai/langgraph/commit/fbd3b63837b30b27a72129241406b16805659135) Fix import - [`2095ede`](https://github.com/langchain-ai/langgraph/commit/2095edef7a5f68abb8e3e54b4497facb3ff85dd2) One more ### 📊 Changes **2 files changed** (+97 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/channels/binop.py` (+32 -3) 📝 `tests/test_pregel.py` (+65 -0) </details> ### 📄 Description - this makes List/Sequence annotations behave same as list --- <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:04 -05:00
yindo closed this issue 2026-02-20 17:45:04 -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#1578