Skip to content

Conversation

le-codeur-rapide
Copy link

Description

Fixes #33019 by improving type hints for the tool decorator

This PR only modify type hints so no behaviour changes are expected.

Copy link

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langchain Ignored Ignored Preview Sep 19, 2025 1:36pm

Copy link

codspeed-hq bot commented Sep 19, 2025

CodSpeed WallTime Performance Report

Merging #33020 will not alter performance

Comparing le-codeur-rapide:langchain_fix_strict_typing_tool_decorator (b347c02) with master (90280d1)1

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 13 untouched

Footnotes

  1. No successful run was found on master (4d11877) during the generation of this report, so 90280d1 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@le-codeur-rapide le-codeur-rapide changed the title fix[langchain]: Fix strict pylance error on tool decorator import fix(langchain): Fix strict pylance error on tool decorator import Sep 19, 2025
@mdrxy mdrxy added langchain Related to the package `langchain` linting Linting, formatting, typing, or style labels Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
langchain Related to the package `langchain` linting Linting, formatting, typing, or style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pylance type checking error when importing tool decorator
2 participants