René's URL Explorer Experiment


Title: Refactor/pydantic model migration by Mattsface · Pull Request #237 · zero-sum-seattle/python-mlb-statsapi · GitHub

Open Graph Title: Refactor/pydantic model migration by Mattsface · Pull Request #237 · zero-sum-seattle/python-mlb-statsapi

X Title: Refactor/pydantic model migration by Mattsface · Pull Request #237 · zero-sum-seattle/python-mlb-statsapi

Description: Python Wrapper for the MLB's Official Stats API. Contribute to zero-sum-seattle/python-mlb-statsapi development by creating an account on GitHub.

Open Graph Description: Why Migrate from Python dataclasses to Pydantic v2 for: Built-in data validation (no more silent failures) Automatic nested model instantiation (remove manual __post_init__) Pythonic snake_case fi...

X Description: Why Migrate from Python dataclasses to Pydantic v2 for: Built-in data validation (no more silent failures) Automatic nested model instantiation (remove manual __post_init__) Pythonic snake_case fi...

Opengraph URL: https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237

X: @github

direct link

Domain: github.com

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:146e2c18-2025-7ac8-0f09-e7ca37274c3f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC28C:1A0CEA:223D428:304158D:6A4CDAAE
html-safe-noncef43910fba9b6fbef47e14e2e78d93d5ade5ea1ec561086fb7b40a3c0ae7d0a60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjhDOjFBMENFQToyMjNENDI4OjMwNDE1OEQ6NkE0Q0RBQUUiLCJ2aXNpdG9yX2lkIjoiMjgwODQzNzI0NTAwMTY1MjkxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb74d7acda1c9d1e105cb01c7ab6ccef0144dbfb65b24d3270eb54f87a4f51415
hovercard-subject-tagpull_request:3168296651
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/zero-sum-seattle/python-mlb-statsapi/237/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c528435588c45fd15659c9bac482c8d8f3cb8bda726a6b2850a93305c35d3db0/zero-sum-seattle/python-mlb-statsapi/pull/237
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c528435588c45fd15659c9bac482c8d8f3cb8bda726a6b2850a93305c35d3db0/zero-sum-seattle/python-mlb-statsapi/pull/237
og:image:altWhy Migrate from Python dataclasses to Pydantic v2 for: Built-in data validation (no more silent failures) Automatic nested model instantiation (remove manual __post_init__) Pythonic snake_case fi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMattsface
hostnamegithub.com
expected-hostnamegithub.com
None299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8
turbo-cache-controlno-cache
go-importgithub.com/zero-sum-seattle/python-mlb-statsapi git https://github.com/zero-sum-seattle/python-mlb-statsapi.git
octolytics-dimension-user_id113143889
octolytics-dimension-user_loginzero-sum-seattle
octolytics-dimension-repository_id535875567
octolytics-dimension-repository_nwozero-sum-seattle/python-mlb-statsapi
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id535875567
octolytics-dimension-repository_network_root_nwozero-sum-seattle/python-mlb-statsapi
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
release3eeb74f55ccd8a31bdaec6839577c592bbf7844c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fzero-sum-seattle%2Fpython-mlb-statsapi%2Fpull%2F237
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
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Fzero-sum-seattle%2Fpython-mlb-statsapi%2Fpull%2F237
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=zero-sum-seattle%2Fpython-mlb-statsapi
Reloadhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
Reloadhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
Reloadhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
Please reload this pagehttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
zero-sum-seattle https://github.com/zero-sum-seattle
python-mlb-statsapihttps://github.com/zero-sum-seattle/python-mlb-statsapi
Notifications https://github.com/login?return_to=%2Fzero-sum-seattle%2Fpython-mlb-statsapi
Fork 25 https://github.com/login?return_to=%2Fzero-sum-seattle%2Fpython-mlb-statsapi
Star 96 https://github.com/login?return_to=%2Fzero-sum-seattle%2Fpython-mlb-statsapi
Code https://github.com/zero-sum-seattle/python-mlb-statsapi
Issues 2 https://github.com/zero-sum-seattle/python-mlb-statsapi/issues
Pull requests 3 https://github.com/zero-sum-seattle/python-mlb-statsapi/pulls
Discussions https://github.com/zero-sum-seattle/python-mlb-statsapi/discussions
Actions https://github.com/zero-sum-seattle/python-mlb-statsapi/actions
Projects https://github.com/zero-sum-seattle/python-mlb-statsapi/projects
Wiki https://github.com/zero-sum-seattle/python-mlb-statsapi/wiki
Security and quality 0 https://github.com/zero-sum-seattle/python-mlb-statsapi/security
Insights https://github.com/zero-sum-seattle/python-mlb-statsapi/pulse
Code https://github.com/zero-sum-seattle/python-mlb-statsapi
Issues https://github.com/zero-sum-seattle/python-mlb-statsapi/issues
Pull requests https://github.com/zero-sum-seattle/python-mlb-statsapi/pulls
Discussions https://github.com/zero-sum-seattle/python-mlb-statsapi/discussions
Actions https://github.com/zero-sum-seattle/python-mlb-statsapi/actions
Projects https://github.com/zero-sum-seattle/python-mlb-statsapi/projects
Wiki https://github.com/zero-sum-seattle/python-mlb-statsapi/wiki
Security and quality https://github.com/zero-sum-seattle/python-mlb-statsapi/security
Insights https://github.com/zero-sum-seattle/python-mlb-statsapi/pulse
Mattsfacehttps://github.com/Mattsface
mainhttps://github.com/zero-sum-seattle/python-mlb-statsapi/tree/main
refactor/pydantic-model-migrationhttps://github.com/zero-sum-seattle/python-mlb-statsapi/tree/refactor/pydantic-model-migration
Conversationhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
Commits9 (9)https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits
Checkshttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/checks
Files changedhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/files
Refactor/pydantic model migrationhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237#top
Mattsfacehttps://github.com/Mattsface
mainhttps://github.com/zero-sum-seattle/python-mlb-statsapi/tree/main
refactor/pydantic-model-migrationhttps://github.com/zero-sum-seattle/python-mlb-statsapi/tree/refactor/pydantic-model-migration
https://github.com/Mattsface
Mattsfacehttps://github.com/Mattsface
Jan 13, 2026https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237#issue-3807201791
Please reload this pagehttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
Mattsfacehttps://github.com/Mattsface
January 12, 2026 22:53https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237#commits-pushed-889899f
https://github.com/Mattsface
chore: add pydantic dependencyhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/889899f3c7f42cdece3d2bc120ec49c6c5e7786a
889899fhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/889899f3c7f42cdece3d2bc120ec49c6c5e7786a
https://github.com/Mattsface
chore: add shared MLBBaseModel and base testshttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/77fecd6bd618a455f818065d3d8e163e852f36d4
77fecd6https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/77fecd6bd618a455f818065d3d8e163e852f36d4
https://github.com/Mattsface
refactor: migrate core models to Pydantic with Pythonic field nameshttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/67f6ef5e9674adf57305442a382da7774910243a
67f6ef5https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/67f6ef5e9674adf57305442a382da7774910243a
https://github.com/Mattsface
refactor: migrate people and data models to Pydantichttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/78d9a66bcf3f91c85d161c93be09b696d88cdaca
78d9a66https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/78d9a66bcf3f91c85d161c93be09b696d88cdaca
https://github.com/Mattsface
refactor: migrate game, gamepace, and homerunderby models to Pydantichttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/ca7482102d3aa7e83956473502f829b6ddb11168
ca74821https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/ca7482102d3aa7e83956473502f829b6ddb11168
https://github.com/Mattsface
refactor: migrate schedules, drafts, and awards models to Pydantichttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/5945b1f788e08bcdcca3a4da3724f017cfdf7e5c
5945b1fhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/5945b1f788e08bcdcca3a4da3724f017cfdf7e5c
https://github.com/Mattsface
refactor: migrate stats module to Pydantichttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/b320a8b726972f51084ea00c482d257d573094e0
b320a8bhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/b320a8b726972f51084ea00c482d257d573094e0
https://github.com/Mattsface
docs: update README for Pydantic migrationhttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/0734694c49afce4d8ada80a977b7b3db8afe868d
0734694https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/0734694c49afce4d8ada80a977b7b3db8afe868d
https://github.com/Mattsface
Mattsfacehttps://github.com/Mattsface
force-pushedhttps://github.com/zero-sum-seattle/python-mlb-statsapi/compare/6af2185a90b2b3618be81f98a86972c322100fc6..0734694c49afce4d8ada80a977b7b3db8afe868d
6af2185https://github.com/zero-sum-seattle/python-mlb-statsapi/commit/6af2185a90b2b3618be81f98a86972c322100fc6
0734694https://github.com/zero-sum-seattle/python-mlb-statsapi/commit/0734694c49afce4d8ada80a977b7b3db8afe868d
Compare https://github.com/zero-sum-seattle/python-mlb-statsapi/compare/6af2185a90b2b3618be81f98a86972c322100fc6..0734694c49afce4d8ada80a977b7b3db8afe868d
January 13, 2026 06:54https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237#event-22008137920
https://github.com/Mattsface
version bumphttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/99b47782f73b366e4611dc45c0e0c371b6117171
99b4778https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237/commits/99b47782f73b366e4611dc45c0e0c371b6117171
https://github.com/Mattsface
Mattsfacehttps://github.com/Mattsface
7004de7https://github.com/zero-sum-seattle/python-mlb-statsapi/commit/7004de7906f6d760cbec5b1f74393b35aa3f517a
Jan 13, 2026https://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237#event-22008190874
Please reload this pagehttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
https://github.co/hiddenchars
https://github.com/zero-sum-seattle/python-mlb-statsapi/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%2Fzero-sum-seattle%2Fpython-mlb-statsapi%2Fpull%2F237
Please reload this pagehttps://github.com/zero-sum-seattle/python-mlb-statsapi/pull/237
https://github.com/Mattsface
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.