Skip to content

Commit 3395136

Browse files
authored
Update deps (#1290)
1 parent 0dca718 commit 3395136

File tree

3 files changed

+129
-134
lines changed

3 files changed

+129
-134
lines changed

logfire/_internal/integrations/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async def _received_request_client(self: Any, responder: Any) -> None: # pragma
9292

9393
original_handle_server_request = Server._handle_request # type: ignore
9494

95-
@functools.wraps(original_handle_server_request) # type: ignore
95+
@functools.wraps(original_handle_server_request)
9696
async def _handle_request(self: Any, message: Any, request: Any, *args: Any, **kwargs: Any) -> Any:
9797
span_name = 'MCP server handle request'
9898
with _handle_request_with_context(request, span_name):

tests/otel_integrations/test_langchain.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22

3-
import langgraph.warnings
43
import pydantic
54
import pytest
65
from dirty_equals import IsPartialDict
@@ -27,8 +26,7 @@ def add(a: float, b: float) -> float:
2726
"""Add two numbers."""
2827
return a + b
2928

30-
with pytest.warns(langgraph.warnings.LangGraphDeprecatedSinceV10):
31-
math_agent = create_react_agent(model='gpt-4o', tools=[add]) # pyright: ignore [reportUnknownVariableType]
29+
math_agent = create_react_agent(model='gpt-4o', tools=[add]) # pyright: ignore [reportUnknownVariableType]
3230

3331
result = math_agent.invoke({'messages': [{'role': 'user', 'content': "what's 123 + 456?"}]}) # pyright: ignore
3432

0 commit comments

Comments
 (0)