Title: [BUG] Behaviour of kwargs in bot methods · Issue #1918 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: [BUG] Behaviour of kwargs in bot methods · Issue #1918 · python-telegram-bot/python-telegram-bot
X Title: [BUG] Behaviour of kwargs in bot methods · Issue #1918 · python-telegram-bot/python-telegram-bot
Description: Steps to reproduce Pass undocumented kwargs to a bot method Expected behaviour The kwargs should either be passed along to the API or an error should be thrown Actual behaviour The kwargs are just ignored Offline discussion (with @Poolit...
Open Graph Description: Steps to reproduce Pass undocumented kwargs to a bot method Expected behaviour The kwargs should either be passed along to the API or an error should be thrown Actual behaviour The kwargs are just ...
X Description: Steps to reproduce Pass undocumented kwargs to a bot method Expected behaviour The kwargs should either be passed along to the API or an error should be thrown Actual behaviour The kwargs are just ...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/1918
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Behaviour of kwargs in bot methods","articleBody":"\u003c!--\r\nThanks for reporting issues of python-telegram-bot!\r\n\r\nUse this template to notify us if you found a bug.\r\n\r\nTo make it easier for us to help you please enter detailed information below.\r\n\r\nPlease note, we only support the latest version of python-telegram-bot and\r\nmaster branch. Please make sure to upgrade & recreate the issue on the latest\r\nversion prior to opening an issue.\r\n-->\r\n### Steps to reproduce\r\nPass undocumented kwargs to a bot method\r\n\r\n### Expected behaviour\r\nThe kwargs should either be passed along to the API or an error should be thrown\r\n\r\n### Actual behaviour\r\nThe kwargs are just ignored\r\n\r\n### Offline discussion (with @Poolitzer @tsnoam @n5y):\r\n* just ignoring kwargs is not good\r\n* we're not really comfortable with passing method kwargs to the API\r\n* we still need class kwargs (being ignored), so api changes dont immediately break the code\r\n\r\nNote that this goes again older decisions, see #733.\r\n\r\nBefore we go for an implementation, let's hear, what @Eldinnie thinks.\r\n","author":{"url":"https://github.com/Bibo-Joshi","@type":"Person","name":"Bibo-Joshi"},"datePublished":"2020-04-25T08:18:26Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1918"}
| 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:2008535f-f4a4-5af9-1632-c8dac905dbb4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3EC:1FAE:1AF085B:23AADA7:6B025239 |
| html-safe-nonce | c373507fc2d3ecc95b52ef5c8ec92369ea3f625a7bdcca1f71d0d6b01da8a924 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0VDOjFGQUU6MUFGMDg1QjoyM0FBREE3OjZCMDI1MjM5IiwidmlzaXRvcl9pZCI6IjQ0NTg2NjAxODgwNTE4ODY2NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4b015533883bd78547e57c0a65df569690dc37c8394de2cd51329da1daa2a731 |
| hovercard-subject-tag | issue:606718152 |
| 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/1918/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1dba88efe8f9977a32d4bcd0e74ce8b84c1a3faddfb58be4953febbcf95a7a6/python-telegram-bot/python-telegram-bot/issues/1918 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1dba88efe8f9977a32d4bcd0e74ce8b84c1a3faddfb58be4953febbcf95a7a6/python-telegram-bot/python-telegram-bot/issues/1918 |
| og:image:alt | Steps to reproduce Pass undocumented kwargs to a bot method Expected behaviour The kwargs should either be passed along to the API or an error should be thrown Actual behaviour The kwargs are just ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Bibo-Joshi |
| 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