[PR #1641] [MERGED] Support optional fields in the output schema when defining as Dataclass or TypedDict #2207

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

📋 Pull Request Information

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

Base: mainHead: wfh/output_schema


📝 Commits (6)

📊 Changes

3 files changed (+103 additions, -60 deletions)

View changed files

📝 libs/langgraph/langgraph/graph/state.py (+47 -35)
📝 libs/langgraph/tests/__snapshots__/test_pregel.ambr (+8 -8)
📝 libs/langgraph/tests/test_state.py (+48 -17)

📄 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/1641 **Author:** [@hinthornw](https://github.com/hinthornw) **Created:** 9/6/2024 **Status:** ✅ Merged **Merged:** 9/6/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `wfh/output_schema` --- ### 📝 Commits (6) - [`587335b`](https://github.com/langchain-ai/langgraph/commit/587335bfe626056facc94d84b8d2ccf411f254a1) Support optional output schema - [`fd36ed7`](https://github.com/langchain-ai/langgraph/commit/fd36ed794cb75fd50b83f0b34f2ef978304cbc26) Merge branch 'main' into wfh/output_schema - [`093dab1`](https://github.com/langchain-ai/langgraph/commit/093dab10353551bb32a5f3955c3239a4e84233cd) Update test - [`e86330a`](https://github.com/langchain-ai/langgraph/commit/e86330ab05d658a99c2eaa324f977498bfcc8cb6) Exclude shared - [`822bdea`](https://github.com/langchain-ai/langgraph/commit/822bdea146bac69f356e6fb65f313608e28fb264) update ye ol' snapshots - [`4aa28fb`](https://github.com/langchain-ai/langgraph/commit/4aa28fb55fd96b78f15fafa9ca01d097dde4d085) Merge ### 📊 Changes **3 files changed** (+103 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/langgraph/graph/state.py` (+47 -35) 📝 `libs/langgraph/tests/__snapshots__/test_pregel.ambr` (+8 -8) 📝 `libs/langgraph/tests/test_state.py` (+48 -17) </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:32 -05:00
yindo closed this issue 2026-02-20 17:46:32 -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#2207