Title: [BUG] v14: `_BaseMedium` shouldn't have `bot` as a slot · Issue #2921 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: [BUG] v14: `_BaseMedium` shouldn't have `bot` as a slot · Issue #2921 · python-telegram-bot/python-telegram-bot
X Title: [BUG] v14: `_BaseMedium` shouldn't have `bot` as a slot · Issue #2921 · python-telegram-bot/python-telegram-bot
Description: Steps to Reproduce Check slots of _BaseMedium. accessing bot in any instance of _BaseMedium would lead to an error since that is not used. We use _bot. Expected behaviour bot should be removed from the slot. Actual behaviour Operating Sy...
Open Graph Description: Steps to Reproduce Check slots of _BaseMedium. accessing bot in any instance of _BaseMedium would lead to an error since that is not used. We use _bot. Expected behaviour bot should be removed from...
X Description: Steps to Reproduce Check slots of _BaseMedium. accessing bot in any instance of _BaseMedium would lead to an error since that is not used. We use _bot. Expected behaviour bot should be removed from...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/2921
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] v14: `_BaseMedium` shouldn't have `bot` as a slot","articleBody":"### Steps to Reproduce\r\n\r\n1. Check slots of `_BaseMedium`. \r\n2. accessing `bot` in any instance of `_BaseMedium` would lead to an error since that is not used. We use `_bot`.\r\n\r\n### Expected behaviour\r\n\r\n`bot` should be removed from the slot.\r\n\r\n\r\n### Actual behaviour\r\n\r\n-\r\n\r\n### Operating System\r\n\r\n-\r\n\r\n### Version of Python, python-telegram-bot & dependencies\r\n\r\n```shell\r\nPTB v14\r\n```\r\n\r\n\r\n### Relevant log output\r\n\r\n_No response_\r\n\r\n### Additional Context\r\n\r\n`test_slot_behaviour` passes for `PhotoSize` since we don't explicitly have a test for its superclass (`_BaseMedium`).\r\n\r\nWill be fixed in #2893 ","author":{"url":"https://github.com/harshil21","@type":"Person","name":"harshil21"},"datePublished":"2022-03-07T16:28:26Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/2921"}
| 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:dcb8b44d-3ffc-914f-0ead-d4ca77b44b22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88B4:1F927B:2A0D816:370758E:6B026EEF |
| html-safe-nonce | 0633d5ecc8ace1ab88ce4c8db50bbb21d326a8fa97b3df4a239f8f78079fe492 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEI0OjFGOTI3QjoyQTBEODE2OjM3MDc1OEU6NkIwMjZFRUYiLCJ2aXNpdG9yX2lkIjoiMjIwOTI0MzU1MjkzNDk0ODU5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ac5c73d1ca4f395dfc4ad5b5b561e4cd89a00e8f61093478c76d74284680553b |
| hovercard-subject-tag | issue:1161644202 |
| 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-telegram-bot/python-telegram-bot/2921/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9fe4a0eb62a978d08d2f2f6229d54113ad0d71cfcba68ef21cade6a601074f83/python-telegram-bot/python-telegram-bot/issues/2921 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9fe4a0eb62a978d08d2f2f6229d54113ad0d71cfcba68ef21cade6a601074f83/python-telegram-bot/python-telegram-bot/issues/2921 |
| og:image:alt | Steps to Reproduce Check slots of _BaseMedium. accessing bot in any instance of _BaseMedium would lead to an error since that is not used. We use _bot. Expected behaviour bot should be removed from... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | harshil21 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width