René's URL Explorer Experiment


Title: Switching to Dataclasses by aelkheir · Pull Request #5334 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Switching to Dataclasses by aelkheir · Pull Request #5334 · python-telegram-bot/python-telegram-bot

X Title: Switching to Dataclasses by aelkheir · Pull Request #5334 · python-telegram-bot/python-telegram-bot

Description: We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.

Open Graph Description: Closes #5279 Discussed Priorly: #2698

X Description: Closes #5279 Discussed Priorly: #2698

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

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:caaae7d1-b340-b79a-60c0-9036bf4cbd77
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE264:28264A:100CE6E:152BF89:6B028BEE
html-safe-nonce41e51ff05426ae93741fb6febc0421e4ba60de7e0158471a6bd9604bd0e853d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjY0OjI4MjY0QToxMDBDRTZFOjE1MkJGODk6NkIwMjhCRUUiLCJ2aXNpdG9yX2lkIjoiODI0ODg2NTYxODcwNzc3ODU0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccf96352e36f9968d7c9b80c5073136db9737d2dfb7d4a126b26dbf0491001ee0
hovercard-subject-tagpull_request:4343732581
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-telegram-bot/python-telegram-bot/5334/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/70ad402064cb9587be66aae3cd4b889a41920165aac7fe1aef3939eaa410d54d/python-telegram-bot/python-telegram-bot/pull/5334
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/70ad402064cb9587be66aae3cd4b889a41920165aac7fe1aef3939eaa410d54d/python-telegram-bot/python-telegram-bot/pull/5334
og:image:altCloses #5279 Discussed Priorly: #2698
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaelkheir
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F5334
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%2Fpull%2F5334
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
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
aelkheirhttps://github.com/aelkheir
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
dataclasseshttps://github.com/python-telegram-bot/python-telegram-bot/tree/dataclasses
Conversationhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
Commits46 (46)https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits
Checkshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/checks
Files changedhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files
Switching to Dataclasseshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334#top
aelkheirhttps://github.com/aelkheir
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
dataclasseshttps://github.com/python-telegram-bot/python-telegram-bot/tree/dataclasses
https://github.com/aelkheir
aelkheirhttps://github.com/aelkheir
Aug 23, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#issue-5229037782
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
#5279https://github.com/python-telegram-bot/python-telegram-bot/issues/5279
#2698https://github.com/python-telegram-bot/python-telegram-bot/issues/2698
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
aelkheirhttps://github.com/aelkheir
August 19, 2026 14:58https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#commits-pushed-f5bdffd
https://github.com/aelkheir
Add typing_extensionshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/f5bdffd4cba0d659f609918e58194dc64c9deb28
f5bdffdhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/f5bdffd4cba0d659f609918e58194dc64c9deb28
https://github.com/aelkheir
Set ruff typing-extensions=falsehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/d6c35bd4c8e5912628bfcc2d0518ecb67d759e79
d6c35bdhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/d6c35bd4c8e5912628bfcc2d0518ecb67d759e79
https://github.com/aelkheir
Add tg{dataclass,field} helpershttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ae4210ca3f87bddb259cd532f4b4bd6f75b54d47
ae4210chttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ae4210ca3f87bddb259cd532f4b4bd6f75b54d47
https://github.com/aelkheir
Do ground work in TelegramObjecthttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/e20a0748bb890665f00a9f07238b398846b1586f
e20a074https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/e20a0748bb890665f00a9f07238b398846b1586f
https://github.com/aelkheir
Add runtime support for specifier parameter aliashttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/b4bbfa36bee352722a1a6b24cba12b652c8f70e4
b4bbfa3https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/b4bbfa36bee352722a1a6b24cba12b652c8f70e4
https://github.com/aelkheir
Some typing improvements to _utils/dataclass.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/0026d930d4aff6dc0a67f7db2197d05dc46e2cbe
0026d93https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/0026d930d4aff6dc0a67f7db2197d05dc46e2cbe
https://github.com/aelkheir
Migrate classes direclty under telegram/https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/12abacfcf5d5cd923c61f5e04f53ef1c7e18732c
12abacfhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/12abacfcf5d5cd923c61f5e04f53ef1c7e18732c
https://github.com/aelkheir
aelkheirhttps://github.com/aelkheir
Aug 23, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#event-29881147252
aelkheirhttps://github.com/aelkheir
August 23, 2026 20:54https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#commits-pushed-d19ccdc
https://github.com/aelkheir
https://github.com/apps/github-actions
Add chango fragment for PRhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/d19ccdc4bd28f64a7ffffbfa8f046b95e2ce41ae
#5334https://github.com/python-telegram-bot/python-telegram-bot/pull/5334
d19ccdchttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/d19ccdc4bd28f64a7ffffbfa8f046b95e2ce41ae
https://github.com/aelkheir
Finish up classes under telegram/**/https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ea65eeaad906f7ac2876cfe940f737938794fb9e
ea65eeahttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ea65eeaad906f7ac2876cfe940f737938794fb9e
https://github.com/aelkheir
Migrate Bot and ExtBothttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/82183175ab28efaa45c498612d8bf796b643e301
8218317https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/82183175ab28efaa45c498612d8bf796b643e301
https://github.com/aelkheir
Remove test_slot_behaviour() where its automatedhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/60c1ea0358fc5f135e8809e21eb84367f64fd942
60c1ea0https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/60c1ea0358fc5f135e8809e21eb84367f64fd942
https://github.com/aelkheir
Add missing default None to optional fieldshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/cf8bea063f3f9dc63e72eb28f1a24f433022d010
cf8bea0https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/cf8bea063f3f9dc63e72eb28f1a24f433022d010
https://github.com/aelkheir
Fix some enum copy-paste typoshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/edb225eec375bbfc81b5508d3dbd923b6625d1e5
edb225ehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/edb225eec375bbfc81b5508d3dbd923b6625d1e5
https://github.com/aelkheir
Override dataclasses generated __hash__()https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9e6d55874725a4135063b21d1bc91b3b5787f47f
9e6d558https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9e6d55874725a4135063b21d1bc91b3b5787f47f
https://github.com/aelkheir
Handle annotation replacements in generated __init__https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/2d88fd0903a887aed25cddc3ee17600292bb00c3
2d88fd0https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/2d88fd0903a887aed25cddc3ee17600292bb00c3
https://github.com/aelkheir
Remove __[get/set]state__ that dataclasses generatehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/b17b6b810e3cafd39ccc42a714d394f16cdb4ccc
b17b6b8https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/b17b6b810e3cafd39ccc42a714d394f16cdb4ccc
https://github.com/aelkheir
Update two tests that relied on uneeded type coercionhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/bfc78127bcd2460265aa34e25a2fc470e2d4bc12
bfc7812https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/bfc78127bcd2460265aa34e25a2fc470e2d4bc12
https://github.com/aelkheir
Fix a test_chatmemberupdated failurehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9c53a3965823f9504d9f30d995a0a0532631b118
9c53a39https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9c53a3965823f9504d9f30d995a0a0532631b118
https://github.com/aelkheir
Update test_telegramobject to use @tg_dataclass()https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/0a33d4969b9d0ef9a20cc151bfa690c7487abd7c
0a33d49https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/0a33d4969b9d0ef9a20cc151bfa690c7487abd7c
https://github.com/aelkheir
Remove old "deepcopy preserves freezing" testhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/37705e0fffbcb7c5eeaa78f07054b57c6f2d618d
37705e0https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/37705e0fffbcb7c5eeaa78f07054b57c6f2d618d
https://github.com/aelkheir
Deprecate test_telegramobject test_subclasses_have_api_kwargshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/92dd955ceb05198ca66dd09a66aef5b84aa0255a
92dd955https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/92dd955ceb05198ca66dd09a66aef5b84aa0255a
https://github.com/aelkheir
Define _CredentialsBase.*_hash aliases as fieldshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/057fde26406f5d84d062efa083d090b4c8917dfc
057fde2https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/057fde26406f5d84d062efa083d090b4c8917dfc
https://github.com/aelkheir
Handle all the [un]freezing in test suitehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/fbd5b8bf7c4e90bfdb117750c5b0378f65e789bc
fbd5b8bhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/fbd5b8bf7c4e90bfdb117750c5b0378f65e789bc
https://github.com/aelkheir
Migrate _inputmedia classeshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/cf6485bc75d9f74305d6b25712d1a8cc054bec56
cf6485bhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/cf6485bc75d9f74305d6b25712d1a8cc054bec56
https://github.com/aelkheir
Simplify passportelementerrors migrationhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/908a07b6b89c1d45767e272383c5507361025b52
908a07bhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/908a07b6b89c1d45767e272383c5507361025b52
https://github.com/aelkheir
Restore TO hashing behaviour and add tests for ithttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/bf850c98ba7ac946bc19ac4d5a7584c596ff5aa0
bf850c9https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/bf850c98ba7ac946bc19ac4d5a7584c596ff5aa0
https://github.com/aelkheir
Restore equality for direct TO instanceshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/557c9b93082d933f4ac646997124f0a5bdf4fdbb
557c9b9https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/557c9b93082d933f4ac646997124f0a5bdf4fdbb
https://github.com/aelkheir
Fix minor bugs in some field definitionshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/2aa34211a771dba4525500053be2bea7bd074419
2aa3421https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/2aa34211a771dba4525500053be2bea7bd074419
https://github.com/aelkheir
Document all breaking changes in changeloghttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/01bb8c55292c751c6cbd5c7be5f7a665a23aaa65
01bb8c5https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/01bb8c55292c751c6cbd5c7be5f7a665a23aaa65
aelkheirhttps://github.com/aelkheir
September 23, 2026 00:40https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#commits-pushed-bd568f7
https://github.com/aelkheir
Merge remote-tracking branch 'upstream/master' into dataclasseshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/bd568f745546a1a36329417dde66b38f0ea67831
bd568f7https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/bd568f745546a1a36329417dde66b38f0ea67831
https://github.com/aelkheir
Fix some test_poll failureshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/2389caeaeeaecb2905687f659728afdf62ed1025
2389caehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/2389caeaeeaecb2905687f659728afdf62ed1025
https://github.com/aelkheir
Unify TelegramObject comparison tests after removing warningshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ed5bc39daea1a2b2aa8178b76560c1062210e5ee
ed5bc39https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ed5bc39daea1a2b2aa8178b76560c1062210e5ee
https://github.com/aelkheir
aelkheirhttps://github.com/aelkheir
September 23, 2026 17:29https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#event-31696048373
https://github.com/aelkheir
aelkheirhttps://github.com/aelkheir
Sep 23, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#issuecomment-5799639193
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
alias Field specifier parametershttps://typing.python.org/en/latest/spec/dataclasses.html#field-specifier-parameters
https://private-user-images.githubusercontent.com/90580077/657321133-8468ff91-dc9f-40c4-8df2-9e63eec1a9b8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUzMjkzMDcsIm5iZiI6MTc5NTMyOTAwNywicGF0aCI6Ii85MDU4MDA3Ny82NTczMjExMzMtODQ2OGZmOTEtZGM5Zi00MGM0LThkZjItOWU2M2VlYzFhOWI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIyVDA2MzAwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwNWU2M2I3NWQ5NmNhMGQ1OGNjMDRhNjI3ZDlkY2RkNDNiMTMwNmFjMGUxOTIyY2ZlOTRiZTQyMzUzOTA5YjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Bha30gdBpI5okVgXIHf4xdjnC_CXnN11wJY2GMUFu2k
https://private-user-images.githubusercontent.com/90580077/657323432-51568c58-1e51-4467-a2fa-c63b1d41ae5f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUzMjkzMDcsIm5iZiI6MTc5NTMyOTAwNywicGF0aCI6Ii85MDU4MDA3Ny82NTczMjM0MzItNTE1NjhjNTgtMWU1MS00NDY3LWEyZmEtYzYzYjFkNDFhZTVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIyVDA2MzAwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmMjEzNTQzZDNjZTRlMTE5MGNhZGQxZTA2MzJiYzFkYjA1ZTUyZGQxZDZjZmRkYTEzODliMzJmNGQwOWQzNjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.LScQLmIoIClFErDCzd7TdVrPlt07ssPaN6LMn0c5GSU
https://youtrack.jetbrains.com/issue/PY-73832/Pycharm-doesnt-properly-recognizes-aliases-for-Pydantic-dataclasshttps://youtrack.jetbrains.com/issue/PY-73832/Pycharm-doesnt-properly-recognizes-aliases-for-Pydantic-dataclass
https://private-user-images.githubusercontent.com/90580077/657363316-89ee1d2a-37de-4088-aa25-95eb351b70fb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUzMjkzMDcsIm5iZiI6MTc5NTMyOTAwNywicGF0aCI6Ii85MDU4MDA3Ny82NTczNjMzMTYtODllZTFkMmEtMzdkZS00MDg4LWFhMjUtOTVlYjM1MWI3MGZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIyVDA2MzAwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNiM2VlZTI5NDZhM2Q5ZmY1MTc2YmM1Mjk1MThlYjk2YzI4YWRmNjI5YjZlMDViY2Q1NjQyZDIyNzFmMmQ4ZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Ib9r5CinsdwDpbSoJTmphsQUKOaTeTZU7XuZPkKWLWU
pylint-dev/pylint#4899https://github.com/pylint-dev/pylint/issues/4899
pylint-dev/pylint#7437https://github.com/pylint-dev/pylint/issues/7437
python/mypy#17547https://github.com/python/mypy/issues/17547
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
https://github.com/aelkheir
aelkheirhttps://github.com/aelkheir
Sep 23, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#event-31696142963
https://github.com/harshil21
harshil21https://github.com/harshil21
Oct 11, 2026 https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#pullrequestreview-5361965140
View reviewed changes https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee
harshil21https://github.com/harshil21
https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#pullrequestreview-5361965140
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
changes/unreleased/5334.Yat2ZJVdKq3PJCX7kWFLfD.tomlhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-651f0a3e8e7e7d37071e5f9e3f641f8e1a6505288e9d7d2ed93a534127475d31
harshil21https://github.com/harshil21
Sep 30, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4141196220
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
aelkheirhttps://github.com/aelkheir
Oct 11, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4240779772
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
src/telegram/_utils/dataclass.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-40cfec7f0f7b841521e9b0c17668291d06da7dad8b9a54601224c873b43bb865
harshil21https://github.com/harshil21
Sep 30, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4141206446
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
src/telegram/_utils/dataclass.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-40cfec7f0f7b841521e9b0c17668291d06da7dad8b9a54601224c873b43bb865
harshil21https://github.com/harshil21
Oct 11, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4240298998
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
aelkheirhttps://github.com/aelkheir
Nov 21, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4652594686
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
type-paramshttps://docs.python.org/3/reference/compound_stmts.html#type-params
ClassVar<-> Finalhttps://docs.python.org/3/library/typing.html#typing.ClassVar
3.13 - starting 2029-10, Typing:https://github.com/orgs/python-telegram-bot/projects/5/views/1?pane=issue&itemId=308638480
3.12 - starting 2028-10, Typing:https://github.com/orgs/python-telegram-bot/projects/5/views/1?pane=issue&itemId=77144236
https://private-user-images.githubusercontent.com/90580077/714626687-7ff24242-8a9c-4a42-867c-f619edd19646.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUzMjkzMDgsIm5iZiI6MTc5NTMyOTAwOCwicGF0aCI6Ii85MDU4MDA3Ny83MTQ2MjY2ODctN2ZmMjQyNDItOGE5Yy00YTQyLTg2N2MtZjYxOWVkZDE5NjQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIyVDA2MzAwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmZDdkMjRjMjBiNWVjODk1YjIzZjczNjNjNGVmMTc0OTZiNWE0MWZmMDQ0NTU5NzJiZTUzNmY2ZjEzYjg2MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.EKKc1-8sbR0BFGjjLk3OwW7w0AiV_0_mgjkHYc-TzXU
dataclasses.html#module-contenthttps://docs.python.org/3.12/library/dataclasses.html#module-contents
python/cpython#90562https://github.com/python/cpython/issues/90562
3.14 - starting 2030-10, Remove uses of super(Cls, self)https://github.com/orgs/python-telegram-bot/projects/5/views/1?pane=issue&itemId=313350572
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
src/telegram/_utils/dataclass.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-40cfec7f0f7b841521e9b0c17668291d06da7dad8b9a54601224c873b43bb865
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
src/telegram/_utils/dataclass.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-40cfec7f0f7b841521e9b0c17668291d06da7dad8b9a54601224c873b43bb865
harshil21https://github.com/harshil21
Oct 11, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4240526978
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
src/telegram/_utils/dataclass.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-40cfec7f0f7b841521e9b0c17668291d06da7dad8b9a54601224c873b43bb865
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
src/telegram/_telegramobject.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-cf3cfd515f687ca72da7104a46651aed1485b7069a6f5ff3c56a0caf5518a10b
harshil21https://github.com/harshil21
Oct 11, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4240568075
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
aelkheirhttps://github.com/aelkheir
Nov 21, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4654254132
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
src/telegram/_telegramobject.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/files/ed5bc39daea1a2b2aa8178b76560c1062210e5ee#diff-cf3cfd515f687ca72da7104a46651aed1485b7069a6f5ff3c56a0caf5518a10b
harshil21https://github.com/harshil21
Oct 11, 2026https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#discussion_r4240614532
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
https://github.com/harshil21
harshil21https://github.com/harshil21
Oct 23, 2026 https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#ref-issue-4644779348
Full Support for Bot API 10.1 #5261 https://github.com/python-telegram-bot/python-telegram-bot/issues/5261
aelkheirhttps://github.com/aelkheir
October 25, 2026 01:56https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#commits-pushed-e936fb8
https://github.com/aelkheir
Replace per class enum converters with central functools.partialhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/e936fb880e97c3940d6485d7d6c33a026eda3969
e936fb8https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/e936fb880e97c3940d6485d7d6c33a026eda3969
https://github.com/aelkheir
Adapt test_enum_types regexes to look for dc fieldshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/3f0c8b5c0fb468d0f0dc989623cc0ab8846fc679
3f0c8b5https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/3f0c8b5c0fb468d0f0dc989623cc0ab8846fc679
https://github.com/aelkheir
Refactor scattered object.__setattr__ into new TO._set()https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/45858c5161fcad127b2cbdc0ab96f7670140f247
45858c5https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/45858c5161fcad127b2cbdc0ab96f7670140f247
https://github.com/aelkheir
Add a deprecation note to PassportElementError docstringhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/cf10f4c368c7e2c6b296d3f815308b524670da87
cf10f4chttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/cf10f4c368c7e2c6b296d3f815308b524670da87
https://github.com/aelkheir
Add deprecation notes to changelog fragmenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/f6a635f149ab44b59a0fd2593a73330bd5c9e5bd
f6a635fhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/f6a635f149ab44b59a0fd2593a73330bd5c9e5bd
https://github.com/harshil21
harshil21https://github.com/harshil21
Nov 11, 2026 https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#ref-pullrequest-6297760757
Add DeserializationTestBase and de_json meta-tests #5401 https://github.com/python-telegram-bot/python-telegram-bot/pull/5401
aelkheirhttps://github.com/aelkheir
November 11, 2026 16:18https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#commits-pushed-9518d6e
https://github.com/aelkheir
Use correct (API confirming) annotations for duration fieldshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9518d6e15e40d6bebb749a7398b90b45ad8c9a69
9518d6ehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9518d6e15e40d6bebb749a7398b90b45ad8c9a69
https://github.com/aelkheir
Add testshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/3fb094e7b5c7e10365c5893cd873c5575eaa6b2b
3fb094ehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/3fb094e7b5c7e10365c5893cd873c5575eaa6b2b
https://github.com/aelkheir
Make test_official green again (as green as master)https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/1a1ae762fcc1f8c28c2ce554895714214d73b872
1a1ae76https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/1a1ae762fcc1f8c28c2ce554895714214d73b872
https://github.com/aelkheir
Merge remote-tracking branch 'upstream/master' into dataclasseshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/a66e6841a013ef3b9fcd64010a1904d648116423
a66e684https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/a66e6841a013ef3b9fcd64010a1904d648116423
https://github.com/aelkheir
Fix CIhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/daecc44f1bdf57e8699ef23a94995d504ac7b890
daecc44https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/daecc44f1bdf57e8699ef23a94995d504ac7b890
https://github.com/aelkheir
review: apply initial review comments & suggestionshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9b1e787e883c73580719371d3b2baed5955a4fbb
9b1e787https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/9b1e787e883c73580719371d3b2baed5955a4fbb
https://github.com/aelkheir
Be consisten about calling super(Cls,self) and add a testhttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/c6a9a2896f9b1f3818001580490293c5bb8f4985
c6a9a28https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/c6a9a2896f9b1f3818001580490293c5bb8f4985
https://github.com/aelkheir
Remove comment that's now included at GH projectshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/927cc8ce6c1dd894f6fe26efe3b7380ed2fe5f5b
927cc8chttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/927cc8ce6c1dd894f6fe26efe3b7380ed2fe5f5b
https://github.com/aelkheir
Fix two small sphinx errorshttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ae071297c08d3957956583101eec4e699f36f675
ae07129https://github.com/python-telegram-bot/python-telegram-bot/pull/5334/commits/ae071297c08d3957956583101eec4e699f36f675
https://github.com/aelkheir
aelkheirhttps://github.com/aelkheir
Poolitzerhttps://github.com/Poolitzer
harshil21https://github.com/harshil21
November 21, 2026 18:20https://github.com/python-telegram-bot/python-telegram-bot/pull/5334#event-36876749433
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F5334
https://github.com/harshil21
harshil21 https://github.com/harshil21
https://github.com/Poolitzer
Poolitzer https://github.com/Poolitzer
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
Switching to Dataclasses https://github.com/python-telegram-bot/python-telegram-bot/issues/5279
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/5334
https://github.com/aelkheir
https://github.com/harshil21
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.