[PR #2771] [MERGED] Documentation bug fix for JsonToolkit #2869

Closed
opened 2026-06-05 18:20:14 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2771
Author: @spinchemist
Created: 2/23/2026
Status: Merged
Merged: 3/13/2026
Merged by: @mdrxy

Base: mainHead: patch-1


📝 Commits (1)

📊 Changes

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

View changed files

📝 src/oss/python/integrations/tools/json.mdx (+1 -1)

📄 Description

Overview

Update json.mdx, documentation for JsonToolkit

Type of change: Bug fix

Currently in the code example the yaml is loaded and stored as data but then on initializing json_spec an empty dict is passed as the dict_ arg, with data never used. This is fixed by passing data to json_spec, ensuring the code example executes without errors when copied and pasted directly

Related issues/PRs

No issues or PRs reporting this bug found

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

🔄 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/2771 **Author:** [@spinchemist](https://github.com/spinchemist) **Created:** 2/23/2026 **Status:** ✅ Merged **Merged:** 3/13/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`a605c8e`](https://github.com/langchain-ai/docs/commit/a605c8edfd93e2570f2e4802cb81a5da3e3fc6f0) Bug fix update json.mdx ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/tools/json.mdx` (+1 -1) </details> ### 📄 Description ## Overview Update json.mdx, documentation for JsonToolkit ## Type of change: Bug fix Currently in the code example the yaml is loaded and stored as `data` but then on initializing json_spec an empty dict is passed as the `dict_` arg, with data never used. This is fixed by passing `data` to json_spec, ensuring the code example executes without errors when copied and pasted directly ## Related issues/PRs No issues or PRs reporting this bug found ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [ ] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [ ] I have used **root relative** paths for internal links - [ ] I have updated navigation in `src/docs.json` if needed --- <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-06-05 18:20:14 -04:00
yindo closed this issue 2026-06-05 18:20:14 -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#2869