[PR #2296] [MERGED] Update print statement to use model_dump_json #2309

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/2296
Author: @rb-one
Created: 1/20/2026
Status: Merged
Merged: 1/22/2026
Merged by: @lnhsingh

Base: mainHead: patch-1


📝 Commits (2)

  • 4265ec6 Update print statement to use model_dump_json
  • 74b10c1 Merge branch 'main' into patch-1

📊 Changes

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

View changed files

📝 src/langsmith/fetch-perf-metrics-experiment.mdx (+1 -1)

📄 Description

Overview

Update documentation: 'The json method is deprecated; the documentation encourage you to use model_dump_json, the current example is broken

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/2296 **Author:** [@rb-one](https://github.com/rb-one) **Created:** 1/20/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`4265ec6`](https://github.com/langchain-ai/docs/commit/4265ec6fff9503d71ecb10a9952b148916e04ce7) Update print statement to use model_dump_json - [`74b10c1`](https://github.com/langchain-ai/docs/commit/74b10c1cde2e5355137bffddef80bc503146a8c4) Merge branch 'main' into patch-1 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/fetch-perf-metrics-experiment.mdx` (+1 -1) </details> ### 📄 Description ## Overview **Update documentation**: 'The `json` method is deprecated; the documentation encourage you to use `model_dump_json`, the current example is broken ## 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-02-17 17:23:17 -05:00
yindo closed this issue 2026-02-17 17:23:17 -05:00
yindo changed title from [PR #2296] Update print statement to use model_dump_json to [PR #2296] [MERGED] Update print statement to use model_dump_json 2026-06-05 18:17:48 -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#2309