René's URL Explorer Experiment


Title: Add Internal Helper for Deserializing Subclasses by Bibo-Joshi · Pull Request #4358 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Add Internal Helper for Deserializing Subclasses by Bibo-Joshi · Pull Request #4358 · python-telegram-bot/python-telegram-bot

X Title: Add Internal Helper for Deserializing Subclasses by Bibo-Joshi · Pull Request #4358 · python-telegram-bot/python-telegram-bot

Description: Closes #4346 TBF, this is more clumsy than I had hoped, but if TG continues with the pattern of subclasses it should still save some duplication. It's a +0 from my side. If you find the logic hard to follow and think that it makes debugging harder, I'm okay with rejecting.

Open Graph Description: Closes #4346 TBF, this is more clumsy than I had hoped, but if TG continues with the pattern of subclasses it should still save some duplication. It's a +0 from my side. If you find the logic h...

X Description: Closes #4346 TBF, this is more clumsy than I had hoped, but if TG continues with the pattern of subclasses it should still save some duplication. It's a +0 from my side. If you find the log...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/4358

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9eb8780b-c01b-679c-dafe-e16988e8f478
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id939A:B1D4C:91E4B51:C44201F:6A5E57F9
html-safe-nonce3e973004003518a126d32683c6815c2c2de156c76e7cd693c18114b8a35e0447
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzlBOkIxRDRDOjkxRTRCNTE6QzQ0MjAxRjo2QTVFNTdGOSIsInZpc2l0b3JfaWQiOiI2MDQxODU4ODg5NzAxMzU1NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacba3a9ea1daaa333065d1e8bf9e5e41790d561b987d26635f8d00fc59ab53b1d1
hovercard-subject-tagpull_request:1957304887
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
twitter:imagehttps://avatars.githubusercontent.com/u/22366557?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/22366557?s=400&v=4
og:image:altCloses #4346 TBF, this is more clumsy than I had hoped, but if TG continues with the pattern of subclasses it should still save some duplication. It's a +0 from my side. If you find the logic h...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4c92a536c69af79290536ba65c054743bf2747e6bf7150d78fe0e566af9ac459
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb8eaa813b53afacb4b93991504272e5396731873
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F4358%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F4358%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
python-telegram-bot https://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Notifications https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Fork 6.1k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Star 29.3k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues 24 https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests 9 https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and quality 0 https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and quality https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
Bibo-Joshihttps://github.com/Bibo-Joshi
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
de_json_subclasseshttps://github.com/python-telegram-bot/python-telegram-bot/tree/de_json_subclasses
Conversation 2 https://github.com/python-telegram-bot/python-telegram-bot/pull/4358
Commits 3 https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/commits
Checks 0 https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/checks
Files changed https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
Add Internal Helper for Deserializing Subclasses https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#top
Show all changes 3 commits https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
9a6bdde Introduce `TO._de_json_subclasses` Bibo-Joshi Jul 8, 2024 https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/commits/9a6bdde98aaffbe45d30f60107c1e193c7c8aca0
dc8604f Make it work with ChatMember Bibo-Joshi Jul 8, 2024 https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/commits/dc8604f7a0bd8cc38273df36efd088146c378cf1
6fe56c0 fix for menubutton Bibo-Joshi Jul 8, 2024 https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/commits/6fe56c02bccc230c11aa86e6218696abd6a1bdb8
Clear filters https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
_botcommandscope.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-c073cfdf1094451f6c0086eae92bfc3f07038cc2e48094a5af765c77c0181124
_chatbackground.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-cd1d4866d2f4157c35d87f117619a84f1155a473e564eccf094a6f0f9c6b47de
_chatboost.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-d5fd9de61ac5fcbb91b170d86205069a76423c4840f61afd0ab0144d70b3bf8d
_chatmember.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-ffc844fdf5990ae1625ed2d754113960eadb24c5b8be776c688c289f5d7edd2b
_menubutton.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-635a4e216cfd7f84084d8feac1f641c31d8e4847f3c9c01c4f2a4389b3da27f8
_messageorigin.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-786987babeafadb1ce593821eddec338c5aa77fe4481646ea259bc8add74c9fd
_paidmedia.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-3e74541fb839063539ba1388d970364cf8d776a3a3a5ca71e058a80f40bc2759
stars.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-4fbe7c932e3dac852e94f8535ceef5301c30355c8d3e41ec27247694e6656e8e
_telegramobject.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-85e3da5ba7fc33ed1139edd7b4b7b81d48eb0c45fe0ff1dcd22528df7c4a6434
test_menubutton.py https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-a2f4f608d75b2e58edb8c290344fddfafe29e3cbdab4678cbc50033bc6df5661
telegram/_botcommandscope.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-c073cfdf1094451f6c0086eae92bfc3f07038cc2e48094a5af765c77c0181124
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_botcommandscope.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-c073cfdf1094451f6c0086eae92bfc3f07038cc2e48094a5af765c77c0181124
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-c073cfdf1094451f6c0086eae92bfc3f07038cc2e48094a5af765c77c0181124
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-c073cfdf1094451f6c0086eae92bfc3f07038cc2e48094a5af765c77c0181124
telegram/_chatbackground.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-cd1d4866d2f4157c35d87f117619a84f1155a473e564eccf094a6f0f9c6b47de
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_chatbackground.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-cd1d4866d2f4157c35d87f117619a84f1155a473e564eccf094a6f0f9c6b47de
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-cd1d4866d2f4157c35d87f117619a84f1155a473e564eccf094a6f0f9c6b47de
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-cd1d4866d2f4157c35d87f117619a84f1155a473e564eccf094a6f0f9c6b47de
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-cd1d4866d2f4157c35d87f117619a84f1155a473e564eccf094a6f0f9c6b47de
telegram/_chatboost.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-d5fd9de61ac5fcbb91b170d86205069a76423c4840f61afd0ab0144d70b3bf8d
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_chatboost.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-d5fd9de61ac5fcbb91b170d86205069a76423c4840f61afd0ab0144d70b3bf8d
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-d5fd9de61ac5fcbb91b170d86205069a76423c4840f61afd0ab0144d70b3bf8d
telegram/_chatmember.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-ffc844fdf5990ae1625ed2d754113960eadb24c5b8be776c688c289f5d7edd2b
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_chatmember.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-ffc844fdf5990ae1625ed2d754113960eadb24c5b8be776c688c289f5d7edd2b
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-ffc844fdf5990ae1625ed2d754113960eadb24c5b8be776c688c289f5d7edd2b
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-ffc844fdf5990ae1625ed2d754113960eadb24c5b8be776c688c289f5d7edd2b
telegram/_menubutton.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-635a4e216cfd7f84084d8feac1f641c31d8e4847f3c9c01c4f2a4389b3da27f8
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_menubutton.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-635a4e216cfd7f84084d8feac1f641c31d8e4847f3c9c01c4f2a4389b3da27f8
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-635a4e216cfd7f84084d8feac1f641c31d8e4847f3c9c01c4f2a4389b3da27f8
telegram/_messageorigin.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-786987babeafadb1ce593821eddec338c5aa77fe4481646ea259bc8add74c9fd
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_messageorigin.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-786987babeafadb1ce593821eddec338c5aa77fe4481646ea259bc8add74c9fd
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-786987babeafadb1ce593821eddec338c5aa77fe4481646ea259bc8add74c9fd
telegram/_paidmedia.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-3e74541fb839063539ba1388d970364cf8d776a3a3a5ca71e058a80f40bc2759
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_paidmedia.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-3e74541fb839063539ba1388d970364cf8d776a3a3a5ca71e058a80f40bc2759
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-3e74541fb839063539ba1388d970364cf8d776a3a3a5ca71e058a80f40bc2759
telegram/_payment/stars.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-4fbe7c932e3dac852e94f8535ceef5301c30355c8d3e41ec27247694e6656e8e
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/6fe56c02bccc230c11aa86e6218696abd6a1bdb8/telegram/_payment/stars.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-4fbe7c932e3dac852e94f8535ceef5301c30355c8d3e41ec27247694e6656e8e
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-4fbe7c932e3dac852e94f8535ceef5301c30355c8d3e41ec27247694e6656e8e
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-4fbe7c932e3dac852e94f8535ceef5301c30355c8d3e41ec27247694e6656e8e
https://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files#diff-4fbe7c932e3dac852e94f8535ceef5301c30355c8d3e41ec27247694e6656e8e
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/4358/files
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.