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
The agent uses the wrapt library internally to implement all wrappers, if the signature of functions is being obstructed that would need to be directed to the wrapt library as an issue.
It sounds like this issue has already been raised unless I'm mistaken and there's not been much progress as of yet.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
Usage of decorators such as
@newrelic.agent.function_trace
prevent mypy from checking types on those functions. Here is mypy documentation describing this issue: https://mypy.readthedocs.io/en/stable/generics.html#declaring-decoratorsFor example
mypy will not catch this type mismatch
Feature Description
Type all
newrelic.agent
decorators as described in the mypy docDescribe Alternatives
Here is a workaround
Additional context
I am not sure if this is possible if you would like to keep supporting python 2.7
Priority
Nice to Have
The text was updated successfully, but these errors were encountered: