[PR #380] [MERGED] StateGraph: use state schema as input/output schema if already a pydantic model #1425

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/380
Author: @nfcampos
Created: 5/3/2024
Status: Merged
Merged: 5/3/2024
Merged by: @nfcampos

Base: mainHead: nc/3may/state-graph-prefer-pydantic-io-schema


📝 Commits (2)

  • 2ab84d1 StateGraph: use state schema as input/output schema if already a pydantic model
  • 0e30723 Lint

📊 Changes

1 file changed (+15 additions, -0 deletions)

View changed files

📝 langgraph/graph/state.py (+15 -0)

📄 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/380 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/3/2024 **Status:** ✅ Merged **Merged:** 5/3/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/3may/state-graph-prefer-pydantic-io-schema` --- ### 📝 Commits (2) - [`2ab84d1`](https://github.com/langchain-ai/langgraph/commit/2ab84d1562f562e8f68aa2eac4bdd05c9149bd45) StateGraph: use state schema as input/output schema if already a pydantic model - [`0e30723`](https://github.com/langchain-ai/langgraph/commit/0e3072368452e7ca79418e3179c9fbfa9a2b56b8) Lint ### 📊 Changes **1 file changed** (+15 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/graph/state.py` (+15 -0) </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:44:42 -05:00
yindo closed this issue 2026-02-20 17:44:42 -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#1425