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
Thanks for reaching out. This is in fact not the first time we had issues with the typing for this decorator, as it came up in #2677 before, which was adressed in #2686. I strongly suggest that we manually check compatability of a new fix with VSCode and PyCharm before merging.
It would be good to see if this check can automatically detect this shortcoming with a newer version of pyright. If it does not, we should reach out to pyright and ask for clarification.
Edit: The failing check is working again (see #4035) but does not report the issue.
Steps to Reproduce
test.py
like:You'll see:
Fix is described in pyright discussion, see microsoft/pyright#6669 (comment)
Expected behaviour
Code is properly annotated so pyright doesn't throw any error.
Actual behaviour
Pyright complains Argument missing for parameter "self"
Operating System
Ubuntu 23.10
Version of Python, python-telegram-bot & dependencies
Relevant log output
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: