Title: Wrong type for `fget` of property · Issue #7516 · python/typeshed · GitHub
Open Graph Title: Wrong type for `fget` of property · Issue #7516 · python/typeshed
X Title: Wrong type for `fget` of property · Issue #7516 · python/typeshed
Description: class A: @property def foo(self): return 'a' A.foo.fget(A()) pyright reports error error: Expected 0 positional arguments (reportGeneralTypeIssues)
Open Graph Description: class A: @property def foo(self): return 'a' A.foo.fget(A()) pyright reports error error: Expected 0 positional arguments (reportGeneralTypeIssues)
X Description: class A: @property def foo(self): return 'a' A.foo.fget(A()) pyright reports error error: Expected 0 positional arguments (reportGeneralTypeIssues)
Opengraph URL: https://github.com/python/typeshed/issues/7516
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong type for `fget` of property","articleBody":"```py\r\nclass A:\r\n @property\r\n def foo(self):\r\n return 'a'\r\n\r\nA.foo.fget(A())\r\n```\r\npyright reports error `error: Expected 0 positional arguments (reportGeneralTypeIssues)`","author":{"url":"https://github.com/eagleoflqj","@type":"Person","name":"eagleoflqj"},"datePublished":"2022-03-20T03:54:51Z","url":"https://github.com/python/typeshed/issues/7516"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c48f9543-cf16-862d-e6b3-a91745c277a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EACA:100874:10A1141:15D03F1:6B00071E |
| html-safe-nonce | 5d6a25dbe313c80df1c47f5d5658a73dbb5500e7cd00a7b322ee1c55cdf69a75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUNBOjEwMDg3NDoxMEExMTQxOjE1RDAzRjE6NkIwMDA3MUUiLCJ2aXNpdG9yX2lkIjoiNDgwNzgzMzM3MTI4OTg0NzU4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d58ab6b871fd492326cefb07a340e2a3ecdd37cb4e6ef71ffb253ff74a41ffbe |
| hovercard-subject-tag | issue:1174432259 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typeshed/7516/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a0ff15c07b3e21007d29329e6981dc3e533c43c041768e30179dd15e8ad4d7c/python/typeshed/issues/7516 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a0ff15c07b3e21007d29329e6981dc3e533c43c041768e30179dd15e8ad4d7c/python/typeshed/issues/7516 |
| og:image:alt | class A: @property def foo(self): return 'a' A.foo.fget(A()) pyright reports error error: Expected 0 positional arguments (reportGeneralTypeIssues) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eagleoflqj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width