[PR #2305] [MERGED] Fix: Correct namespace type from list to tuple in persistence docs #2313

Closed
opened 2026-02-17 17:23:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2305
Author: @arrdel
Created: 1/21/2026
Status: Merged
Merged: 1/22/2026
Merged by: @lnhsingh

Base: mainHead: fix/issue-2157-namespace-type-documentation


📝 Commits (5)

  • 7fbf52e docs: Fix namespace type documentation from list to tuple
  • 4a16b72 Update src/oss/langgraph/persistence.mdx
  • ddfd45d Apply suggestions from code review
  • 1d1377c Apply suggestions from code review
  • 1f81887 Apply suggestions from code review

📊 Changes

1 file changed (+14 additions, -2 deletions)

View changed files

📝 src/oss/langgraph/persistence.mdx (+14 -2)

📄 Description

Description

This PR fixes a type annotation error in the LangGraph persistence documentation.

Problem

The documentation incorrectly states that the namespace field in LangGraph Store is a list[str], but the actual implementation returns a tuple[str, ...].

Solution

Updated the type documentation from:

  • "namespace: A list of strings"

To:

  • "namespace: A tuple of strings"

Related Issue

Fixes #2157


🔄 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/docs/pull/2305 **Author:** [@arrdel](https://github.com/arrdel) **Created:** 1/21/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `fix/issue-2157-namespace-type-documentation` --- ### 📝 Commits (5) - [`7fbf52e`](https://github.com/langchain-ai/docs/commit/7fbf52e91b549d5bd300344aa9a15b7d3af28840) docs: Fix namespace type documentation from list to tuple - [`4a16b72`](https://github.com/langchain-ai/docs/commit/4a16b7297a6ce0f34705054d637bfa16854954db) Update src/oss/langgraph/persistence.mdx - [`ddfd45d`](https://github.com/langchain-ai/docs/commit/ddfd45d7a180ae3dfd6efb9281944a5dfa6ce68f) Apply suggestions from code review - [`1d1377c`](https://github.com/langchain-ai/docs/commit/1d1377cd84ed3b05204579e6a94d1d8d99b46033) Apply suggestions from code review - [`1f81887`](https://github.com/langchain-ai/docs/commit/1f81887722ec79d2ecf7fcafe6ff01eb22006387) Apply suggestions from code review ### 📊 Changes **1 file changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langgraph/persistence.mdx` (+14 -2) </details> ### 📄 Description ## Description This PR fixes a type annotation error in the LangGraph persistence documentation. ## Problem The documentation incorrectly states that the `namespace` field in LangGraph Store is a `list[str]`, but the actual implementation returns a `tuple[str, ...]`. ## Solution Updated the type documentation from: - "namespace: A list of strings" To: - "namespace: A tuple of strings" ## Related Issue Fixes #2157 --- <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-17 17:23:17 -05:00
yindo closed this issue 2026-02-17 17:23:17 -05:00
yindo changed title from [PR #2305] Fix: Correct namespace type from list to tuple in persistence docs to [PR #2305] [MERGED] Fix: Correct namespace type from list to tuple in persistence docs 2026-06-05 18:17:51 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2313