Skip to content

Commit 58e2860

Browse files
Merge branch 'webb/starlette/mypy' into webb/wsgi-common/mypy
2 parents 0cbf62f + 8d50aef commit 58e2860

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/starlette.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def _is_async_callable(obj: "Any") -> bool:
475475
obj = obj.func
476476

477477
return iscoroutinefunction(obj) or (
478-
callable(obj) and iscoroutinefunction(obj.__call__) # type: ignore
478+
callable(obj) and iscoroutinefunction(obj.__call__) # type: ignore[operator]
479479
)
480480

481481

0 commit comments

Comments
 (0)