You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proper type hints for @metric_scope decorator to work nicely with mypy
When using @metric_scope on a typed function, mypy produces this kind of error:
error: Untyped decorator makes function "handler" untyped
This fix avoid this error and will let people using typehint now having those kind
of error messages.
See https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators
0 commit comments