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
Please refer to this issue: microsoft/pyright#774. It provides an explanation of why you're seeing this behavior when you use wraps method and provides a recommended workaround using a TypeVar to annotate your decorator.
Environment data
Expected behaviour
Intellisense shows the suggested arguments for the decorated/wrapped function
Actual behaviour
Intellisense shows the suggested arguments for the wrapper function
Logs
Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: