Title: Spurious mypy errors due to incomplete third party stubs · Issue #708 · python/typeshed · GitHub
Open Graph Title: Spurious mypy errors due to incomplete third party stubs · Issue #708 · python/typeshed
X Title: Spurious mypy errors due to incomplete third party stubs · Issue #708 · python/typeshed
Description: The python2 stubs for both sqlalchemy and boto are incomplete, which is totally fine! I hope to be able to contribute some time to building them out. What I think may be a problem is that mypy assumes that the stubs are complete, and so ...
Open Graph Description: The python2 stubs for both sqlalchemy and boto are incomplete, which is totally fine! I hope to be able to contribute some time to building them out. What I think may be a problem is that mypy assu...
X Description: The python2 stubs for both sqlalchemy and boto are incomplete, which is totally fine! I hope to be able to contribute some time to building them out. What I think may be a problem is that mypy assu...
Opengraph URL: https://github.com/python/typeshed/issues/708
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Spurious mypy errors due to incomplete third party stubs","articleBody":"The python2 stubs for both sqlalchemy and boto are incomplete, which is totally fine! I hope to be able to contribute some time to building them out.\r\n\r\nWhat I think may be a problem is that mypy assumes that the stubs are complete, and so will report that an invocation of a perfectly valid function is an error. Would it be possible to designate various stubs and/or subdirectories as \"open\"/\"incomplete\", such that the behavior becomes ```stub_file.get(key, Any)``` instead of the current (and correct when stubs are complete) ```stub_file[key]```?","author":{"url":"https://github.com/snakescott","@type":"Person","name":"snakescott"},"datePublished":"2016-11-24T07:35:48Z","url":"https://github.com/python/typeshed/issues/708"}
| 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:df21adfd-a347-53bf-38c2-a7f37300cac0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A312:1A2F85:B21F8C:EF31F9:6B004A9E |
| html-safe-nonce | 17b45d072627d015d4db2196e8ec9470793dd2ec28800d4d0e578875633b0d4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzEyOjFBMkY4NTpCMjFGOEM6RUYzMUY5OjZCMDA0QTlFIiwidmlzaXRvcl9pZCI6IjY5MTA5NjMwODk1OTI1Njg0NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6fa9363047428c2823b257ea425bf176497a78595c08f08d8900a3c624e6f694 |
| hovercard-subject-tag | issue:191451211 |
| 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/708/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e754db36a6ad219dee13fb78d9d8d1fc7a1363aced2cfb20dfd0ca398b9483ad/python/typeshed/issues/708 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e754db36a6ad219dee13fb78d9d8d1fc7a1363aced2cfb20dfd0ca398b9483ad/python/typeshed/issues/708 |
| og:image:alt | The python2 stubs for both sqlalchemy and boto are incomplete, which is totally fine! I hope to be able to contribute some time to building them out. What I think may be a problem is that mypy assu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | snakescott |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| 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 | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width