Title: sqlalchemy Engine and Connection should be subclasses of Connectable · Issue #1018 · python/typeshed · GitHub
Open Graph Title: sqlalchemy Engine and Connection should be subclasses of Connectable · Issue #1018 · python/typeshed
X Title: sqlalchemy Engine and Connection should be subclasses of Connectable · Issue #1018 · python/typeshed
Description: The following code: import sqlalchemy connectable: sqlalchemy.engine.base.Connectable engine: sqlalchemy.engine.base.Engine connectable = engine Gives error: Incompatible types in assignment (expression has type "Engine", variable has ty...
Open Graph Description: The following code: import sqlalchemy connectable: sqlalchemy.engine.base.Connectable engine: sqlalchemy.engine.base.Engine connectable = engine Gives error: Incompatible types in assignment (expre...
X Description: The following code: import sqlalchemy connectable: sqlalchemy.engine.base.Connectable engine: sqlalchemy.engine.base.Engine connectable = engine Gives error: Incompatible types in assignment (expre...
Opengraph URL: https://github.com/python/typeshed/issues/1018
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sqlalchemy Engine and Connection should be subclasses of Connectable","articleBody":"The following code:\r\n\r\n```python\r\nimport sqlalchemy\r\n\r\nconnectable: sqlalchemy.engine.base.Connectable\r\nengine: sqlalchemy.engine.base.Engine\r\n\r\nconnectable = engine\r\n```\r\n\r\nGives error: `Incompatible types in assignment (expression has type \"Engine\", variable has type \"Connectable\")`\r\n\r\nAccording to [the documentation](http://docs.sqlalchemy.org/en/latest/core/connections.html#sqlalchemy.engine.Connectable):\r\n\r\n> The two implementations of Connectable are Connection and Engine\r\n\r\nTested on Python 3.6.","author":{"url":"https://github.com/Stiivi","@type":"Person","name":"Stiivi"},"datePublished":"2017-03-18T05:33:52Z","url":"https://github.com/python/typeshed/issues/1018"}
| 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:dfc998c7-67fd-aa21-064b-5c7473d14e5e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A344:2C45C0:C1B78:111BD0:6B0062DF |
| html-safe-nonce | 0980258a536aac14c8999817bc3dbafcb2020069c19a814df521a1b9304b7877 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzQ0OjJDNDVDMDpDMUI3ODoxMTFCRDA6NkIwMDYyREYiLCJ2aXNpdG9yX2lkIjoiMjUzODYxODc2NjU5NDQzMzc1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 566ee9e3809914f1ef306bfcc20f93c5849a339d7187e84a8c7ccc32249415b2 |
| hovercard-subject-tag | issue:215168473 |
| 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/1018/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c5e3312dffb4a501e88fd4ebe80fe0866a4c4cd00c98e1a0d99de338132ae24d/python/typeshed/issues/1018 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5e3312dffb4a501e88fd4ebe80fe0866a4c4cd00c98e1a0d99de338132ae24d/python/typeshed/issues/1018 |
| og:image:alt | The following code: import sqlalchemy connectable: sqlalchemy.engine.base.Connectable engine: sqlalchemy.engine.base.Engine connectable = engine Gives error: Incompatible types in assignment (expre... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Stiivi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| 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 | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width