René's URL Explorer Experiment


Title: [Discussion] kwargs for input-only classes (like `InputMedia*`) · Issue #2607 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: [Discussion] kwargs for input-only classes (like `InputMedia*`) · Issue #2607 · python-telegram-bot/python-telegram-bot

X Title: [Discussion] kwargs for input-only classes (like `InputMedia*`) · Issue #2607 · python-telegram-bot/python-telegram-bot

Description: There are some TG classes that are used for input only, but where we still accept kwargs - which is mainly intended for the classes that we de-json TG data. This sometimes leads to confusion like here https://t.me/pythontelegrambotgroup/...

Open Graph Description: There are some TG classes that are used for input only, but where we still accept kwargs - which is mainly intended for the classes that we de-json TG data. This sometimes leads to confusion like h...

X Description: There are some TG classes that are used for input only, but where we still accept kwargs - which is mainly intended for the classes that we de-json TG data. This sometimes leads to confusion like h...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/2607

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Discussion] kwargs for input-only classes (like `InputMedia*`)","articleBody":"There are some TG classes that are used for input only, but where we still accept kwargs - which is mainly intended for the classes that we de-json TG data. This sometimes leads to confusion like here https://t.me/pythontelegrambotgroup/503803 b/c additional arguments are silently ignored.\r\n\r\nThis is somehow the same problem as in #1924.\r\n\r\nI see three possible ways to proceed with this:\r\n\r\n1. keep `**kwargs` and do nothing\r\n2. Drop `**kwargs` for classes that are exclusively used for input. This has a minor risk of TG actually sending them back to us at some point …\r\n3. keep `**kwargs` but issue warnings when receiving unexpected arguments\r\n\r\nI think we should at least try to apply any of the solutions consistently - not sure if that's currently the case.","author":{"url":"https://github.com/Bibo-Joshi","@type":"Person","name":"Bibo-Joshi"},"datePublished":"2021-07-26T13:37:28Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/2607"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2affddb3-8dc8-7c59-645f-f360f99dbdcc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDFE6:19B6A2:21702A9:2C01E9E:6B0242F5
html-safe-nonce3172075917d5b4946d9d1e5bb2f8ddc753195243b8cdbd0704260a639fc901ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkU2OjE5QjZBMjoyMTcwMkE5OjJDMDFFOUU6NkIwMjQyRjUiLCJ2aXNpdG9yX2lkIjoiMjQ3NzI3NDU4MTkyOTQ0NDA4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac58f2d82385ebe7377012f9d03ae94f808b7c91326efddd3797d5e3db0fe101f6
hovercard-subject-tagissue:952914808
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/2607/issue_layout
twitter:imagehttps://opengraph.githubassets.com/77990a93d876d5e0693564816ebed7fb254aa2ddb70c484c81f3c245568a294f/python-telegram-bot/python-telegram-bot/issues/2607
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/77990a93d876d5e0693564816ebed7fb254aa2ddb70c484c81f3c245568a294f/python-telegram-bot/python-telegram-bot/issues/2607
og:image:altThere are some TG classes that are used for input only, but where we still accept kwargs - which is mainly intended for the classes that we de-json TG data. This sometimes leads to confusion like h...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBibo-Joshi
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/issues/2607#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2F2607
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2F2607
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/2607
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/2607
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/2607
python-telegram-bothttps://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Codehttps://github.com/python-telegram-bot/python-telegram-bot
Issues23 (23)https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests19 (19)https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussionshttps://github.com/python-telegram-bot/python-telegram-bot/discussions
Actionshttps://github.com/python-telegram-bot/python-telegram-bot/actions
Projectshttps://github.com/python-telegram-bot/python-telegram-bot/projects
Wikihttps://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and qualityhttps://github.com/python-telegram-bot/python-telegram-bot/security
Insightshttps://github.com/python-telegram-bot/python-telegram-bot/insights
https://github.com/python-telegram-bot/python-telegram-bot
New issuehttps://github.com/login?return_to=https://github.com/python-telegram-bot/python-telegram-bot/issues/2607
New issuehttps://github.com/login?return_to=https://github.com/python-telegram-bot/python-telegram-bot/issues/2607
[Discussion] kwargs for input-only classes (like InputMedia*)https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#top
🛠 breakingchange type: breakinghttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%F0%9F%9B%A0%20breaking%22
🛠 refactorchange type: refactorhttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%F0%9F%9B%A0%20refactor%22
v20.0https://github.com/python-telegram-bot/python-telegram-bot/milestone/34
https://github.com/Bibo-Joshi
Bibo-Joshihttps://github.com/Bibo-Joshi
on Jul 26, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issue-952914808
https://t.me/pythontelegrambotgroup/503803https://t.me/pythontelegrambotgroup/503803
#1924https://github.com/python-telegram-bot/python-telegram-bot/pull/1924
Bibo-Joshihttps://github.com/Bibo-Joshi
🛠 refactorchange type: refactorhttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%F0%9F%9B%A0%20refactor%22
🛠 breakingchange type: breakinghttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%F0%9F%9B%A0%20breaking%22
on Jul 26, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#event-5068470365
Bibo-Joshihttps://github.com/Bibo-Joshi
v14https://github.com/python-telegram-bot/python-telegram-bot/milestone/22
on Jul 26, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#event-5068470375
https://github.com/Poolitzer
Poolitzerhttps://github.com/Poolitzer
on Aug 12, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-897390813
https://github.com/Bibo-Joshi
Bibo-Joshihttps://github.com/Bibo-Joshi
on Aug 12, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-897392863
https://github.com/Poolitzer
Poolitzerhttps://github.com/Poolitzer
on Aug 12, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-897395103
https://github.com/Bibo-Joshi
Bibo-Joshihttps://github.com/Bibo-Joshi
on Sep 15, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-919745959
https://github.com/Poolitzer
Poolitzerhttps://github.com/Poolitzer
on Oct 3, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-932955444
https://github.com/Bibo-Joshi
Bibo-Joshihttps://github.com/Bibo-Joshi
on Oct 4, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-933208298
https://github.com/Poolitzer
Poolitzerhttps://github.com/Poolitzer
on Oct 19, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-946603515
https://github.com/Bibo-Joshi
Bibo-Joshihttps://github.com/Bibo-Joshi
on Oct 19, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-946877026
#2698 (comment)https://github.com/python-telegram-bot/python-telegram-bot/issues/2698#issue-1015570906
https://github.com/Poolitzer
Poolitzerhttps://github.com/Poolitzer
on Oct 20, 2021https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-947433668
harshil21https://github.com/harshil21
v20https://github.com/python-telegram-bot/python-telegram-bot/milestone/22
v20.0a1https://github.com/python-telegram-bot/python-telegram-bot/milestone/33
on May 12, 2022https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#event-6599369425
Bibo-Joshihttps://github.com/Bibo-Joshi
v20.0a1https://github.com/python-telegram-bot/python-telegram-bot/milestone/33
v20.0https://github.com/python-telegram-bot/python-telegram-bot/milestone/34
on May 21, 2022https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#event-6654888454
https://github.com/Bibo-Joshi
Bibo-Joshihttps://github.com/Bibo-Joshi
on Oct 31, 2022https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#issuecomment-1296805832
#3233https://github.com/python-telegram-bot/python-telegram-bot/pull/3233
Bibo-Joshihttps://github.com/Bibo-Joshi
completedhttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 31, 2022https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#event-7702362026
github-actionshttps://github.com/apps/github-actions
on Nov 7, 2022https://github.com/python-telegram-bot/python-telegram-bot/issues/2607#event-7754968815
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-telegram-bot/python-telegram-bot/issues/2607
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-telegram-bot/python-telegram-bot/issues/2607
🛠 breakingchange type: breakinghttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%F0%9F%9B%A0%20breaking%22
🛠 refactorchange type: refactorhttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%F0%9F%9B%A0%20refactor%22
v20.0https://github.com/python-telegram-bot/python-telegram-bot/milestone/34
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.