Skip to content

Commit

Permalink
Update dispatcher.py
Browse files Browse the repository at this point in the history
🤦
  • Loading branch information
GICodeWarrior authored Feb 14, 2025
1 parent c0de5d2 commit f43e337
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def span_exit(
else:
c = c.parent

def span(self, func: Callable[..., _R]) -> _R:
def span(self, func: Callable[..., _R]) -> Callable[..., _R]:
# The `span` decorator should be idempotent.
try:
if hasattr(func, DISPATCHER_SPAN_DECORATED_ATTR):
Expand Down

0 comments on commit f43e337

Please sign in to comment.