langchain-ai
langchain
BlogDocsChangelog

fix: tool decorator pylance type hints

#33203
Comparing
krishvsoni:fix/tool-decorator-pylance-type-hints
(
d50130c
) with
master
(
7404338
)
CodSpeed Performance Gauge
-3%
Untouched
13
Skipped
21

Benchmarks

Skipped (21)

Passed

test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
604.6 ms603.8 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-2%
620.7 ms632.1 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
500.1 ms513.8 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
506.5 ms523.3 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
167.5 ms173.2 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-3%
441.4 ms457.2 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
-4%
24.6 ms25.5 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-4%
212.3 ms220.5 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-4%
482.7 ms501.4 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-4%
269.2 ms279.7 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-5%
417.9 ms437.8 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-5%
469.6 ms492.9 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-6%
516.4 ms548.6 ms

Commits

Click on a commit to change the comparison range
Base
master
7404338
-6.65%
fix(tools): clean up whitespace in tool decorator tests
55372d0
5 days ago
by krishvsoni
+3.84%
fix(core): apply linting fixes to tool decorator type annotations - Reformat imports to multi-line format for readability - Remove docstrings from @overload functions (per D418) - Remove unnecessary ellipsis literals (per PIE790) - Fix blank line formatting between overloads and main function All linting checks now pass: ruff check, ruff format, mypy
b686433
3 days ago
by krishvsoni
-0.62%
Merge branch 'master' into fix/tool-decorator-pylance-type-hints
d50130c
12 hours ago
by krishvsoni
© 2025 CodSpeed Technology
Home Terms Privacy Docs