Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Jun 18, 2024
1 parent 3bf021f commit 72db5b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sentry_sdk/tracing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ async def func_with_tracing(*args, **kwargs):
return await func(*args, **kwargs)

try:
func_with_tracing.__signature__ = inspect.signature(func)
func_with_tracing.__signature__ = inspect.signature(func) # type: ignore[attr-defined]
except Exception:
pass

Expand Down Expand Up @@ -674,7 +674,7 @@ def func_with_tracing(*args, **kwargs):
return func(*args, **kwargs)

try:
func_with_tracing.__signature__ = inspect.signature(func)
func_with_tracing.__signature__ = inspect.signature(func) # type: ignore[attr-defined]
except Exception:
pass

Expand Down

0 comments on commit 72db5b3

Please sign in to comment.