We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fget
class A: @property def foo(self): return 'a' A.foo.fget(A())
pyright reports error error: Expected 0 positional arguments (reportGeneralTypeIssues)
error: Expected 0 positional arguments (reportGeneralTypeIssues)
The text was updated successfully, but these errors were encountered:
property.fget
property.fset
property.fdel
property.{fget,fset,fdel}
I'm adding the "deferred" label since there's not much we can do on this without movement from mypy, unfortunately :(
Sorry, something went wrong.
It seems like this was actually a bug in pyright's special-casing for property. I can no longer reproduce this bug locally using VSCode.
property
Successfully merging a pull request may close this issue.
pyright reports error
error: Expected 0 positional arguments (reportGeneralTypeIssues)
The text was updated successfully, but these errors were encountered: