Skip to content

Commit cf39d82

Browse files
typing
1 parent 5c3f4eb commit cf39d82

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sentry_sdk/integrations/pydantic_ai/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
if TYPE_CHECKING:
2323
from typing import Any, Awaitable, Callable
2424

25-
from pydantic_ai._run_context import RunContext
26-
from pydantic_ai.models import ModelRequestContext
27-
from pydantic_ai.messages import ModelResponse
25+
from pydantic_ai._run_context import RunContext # type: ignore
26+
from pydantic_ai.models import ModelRequestContext # type: ignore
27+
from pydantic_ai.messages import ModelResponse # type: ignore
2828

2929

30-
def _patch_wrap_model_request():
30+
def _patch_wrap_model_request() -> None:
3131
original_wrap_model_request = CombinedCapability.wrap_model_request
3232

3333
@wraps(original_wrap_model_request)
3434
async def wrapped_wrap_model_request(
35-
self,
35+
self: "CombinedCapability",
3636
ctx: "RunContext[Any]",
3737
*,
3838
request_context: "ModelRequestContext",

0 commit comments

Comments
 (0)