René's URL Explorer Experiment


Title: Class Initialisation Validation Kwarg by AndrewRiggs-Atkins · Pull Request #227 · fastapi/sqlmodel · GitHub

Open Graph Title: Class Initialisation Validation Kwarg by AndrewRiggs-Atkins · Pull Request #227 · fastapi/sqlmodel

X Title: Class Initialisation Validation Kwarg by AndrewRiggs-Atkins · Pull Request #227 · fastapi/sqlmodel

Description: SQL databases in Python, designed for simplicity, compatibility, and robustness. - Class Initialisation Validation Kwarg by AndrewRiggs-Atkins · Pull Request #227 · fastapi/sqlmodel

Open Graph Description: As discussed in issue #134, this pr enables pydantic validation to be run on object instantiation when the class is set as a table, instead of only when being commited into the database. main.py &...

X Description: As discussed in issue #134, this pr enables pydantic validation to be run on object instantiation when the class is set as a table, instead of only when being commited into the database. main.py &...

Opengraph URL: https://github.com/fastapi/sqlmodel/pull/227

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:57a464eb-5b2a-0bdb-8ff4-efe4939790ae
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB690:2E90A3:604C0F:88FE0C:6AFDF057
html-safe-noncedb1b9d19ca537bd1aca77b54867d4c762d420821559e000cd342edf41ee7b68f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjkwOjJFOTBBMzo2MDRDMEY6ODhGRTBDOjZBRkRGMDU3IiwidmlzaXRvcl9pZCI6Ijg1OTIxNDE0Mjk1OTYwOTA0NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac977939fdce10716f275ac7acc017fc422443723424f71bd146126bccdd7192db
hovercard-subject-tagpull_request:824813310
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/fastapi/sqlmodel/227/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/16c0278dfe780b7fb8daba2834cdd41dba60a2b385c0e73b02fdb07cf8ce4311/fastapi/sqlmodel/pull/227
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/16c0278dfe780b7fb8daba2834cdd41dba60a2b385c0e73b02fdb07cf8ce4311/fastapi/sqlmodel/pull/227
og:image:altAs discussed in issue #134, this pr enables pydantic validation to be run on object instantiation when the class is set as a table, instead of only when being commited into the database. main.py &...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndrewRiggs-Atkins
hostnamegithub.com
expected-hostnamegithub.com
Nonedd812ec581ecac95855f5ec917ef9827506c39a9da1443f43ddb4179a46471eb
turbo-cache-controlno-cache
go-importgithub.com/fastapi/sqlmodel git https://github.com/fastapi/sqlmodel.git
octolytics-dimension-user_id156354296
octolytics-dimension-user_loginfastapi
octolytics-dimension-repository_id399495186
octolytics-dimension-repository_nwofastapi/sqlmodel
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id399495186
octolytics-dimension-repository_network_root_nwofastapi/sqlmodel
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
release32ac708bac264dafdc28e10ff49b4d137f0c34a7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/fastapi/sqlmodel/pull/227#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
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%2Ffastapi%2Fsqlmodel%2Fpull%2F227
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=fastapi%2Fsqlmodel
Reloadhttps://github.com/fastapi/sqlmodel/pull/227
Reloadhttps://github.com/fastapi/sqlmodel/pull/227
Reloadhttps://github.com/fastapi/sqlmodel/pull/227
fastapihttps://github.com/fastapi
sqlmodelhttps://github.com/fastapi/sqlmodel
Codehttps://github.com/fastapi/sqlmodel
Issues1 (1)https://github.com/fastapi/sqlmodel/issues
Pull requests53 (53)https://github.com/fastapi/sqlmodel/pulls
Discussionshttps://github.com/fastapi/sqlmodel/discussions
Actionshttps://github.com/fastapi/sqlmodel/actions
Projectshttps://github.com/fastapi/sqlmodel/projects
Security and qualityhttps://github.com/fastapi/sqlmodel/security
Insightshttps://github.com/fastapi/sqlmodel/insights
https://github.com/fastapi/sqlmodel
AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
AndrewRiggs-Atkins:init-validation-kwarghttps://github.com/AndrewRiggs-Atkins/sqlmodel/tree/init-validation-kwarg
Conversationhttps://github.com/fastapi/sqlmodel/pull/227
Commits9 (9)https://github.com/fastapi/sqlmodel/pull/227/commits
Checkshttps://github.com/fastapi/sqlmodel/pull/227/checks
Files changedhttps://github.com/fastapi/sqlmodel/pull/227/files
Class Initialisation Validation Kwarghttps://github.com/fastapi/sqlmodel/pull/227#top
AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
AndrewRiggs-Atkins:init-validation-kwarghttps://github.com/AndrewRiggs-Atkins/sqlmodel/tree/init-validation-kwarg
https://github.com/AndrewRiggs-Atkins
AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
Jan 17, 2022https://github.com/fastapi/sqlmodel/pull/227#issue-1106114299
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
#134https://github.com/fastapi/sqlmodel/issues/134
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/AndrewRiggs-Atkins
AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
Jan 27, 2022https://github.com/fastapi/sqlmodel/pull/227#issuecomment-1023087346
@tiangolohttps://github.com/tiangolo
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/AndrewRiggs-Atkins
Addition of optional validate kwarg for validating object on instanti…https://github.com/fastapi/sqlmodel/pull/227/commits/d793def05c9e81fd816eeb5af6cf9ef388c80ec2
d793defhttps://github.com/fastapi/sqlmodel/pull/227/commits/d793def05c9e81fd816eeb5af6cf9ef388c80ec2
https://github.com/AndrewRiggs-Atkins
AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
force-pushedhttps://github.com/fastapi/sqlmodel/compare/79c0dd316778ffeb25ef3fa28e1bf2b920ee3083..d793def05c9e81fd816eeb5af6cf9ef388c80ec2
79c0dd3https://github.com/fastapi/sqlmodel/commit/79c0dd316778ffeb25ef3fa28e1bf2b920ee3083
d793defhttps://github.com/fastapi/sqlmodel/commit/d793def05c9e81fd816eeb5af6cf9ef388c80ec2
Compare https://github.com/fastapi/sqlmodel/compare/79c0dd316778ffeb25ef3fa28e1bf2b920ee3083..d793def05c9e81fd816eeb5af6cf9ef388c80ec2
March 8, 2022 14:36https://github.com/fastapi/sqlmodel/pull/227#event-6202946415
https://github.com/AndrewRiggs-Atkins
AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
Mar 8, 2022https://github.com/fastapi/sqlmodel/pull/227#issuecomment-1061845189
@tiangolohttps://github.com/tiangolo
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/tiangolo
Merge branch 'main' into init-validation-kwarghttps://github.com/fastapi/sqlmodel/pull/227/commits/7fd81a1a1fdbfe0b758979e6367d778539ee140a
7fd81a1https://github.com/fastapi/sqlmodel/pull/227/commits/7fd81a1a1fdbfe0b758979e6367d778539ee140a
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/apps/codecov
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/andremmori
andremmorihttps://github.com/andremmori
Oct 3, 2022 https://github.com/fastapi/sqlmodel/pull/227#ref-issue-981822256
SQLModel doesn't raise ValidationError #52 https://github.com/fastapi/sqlmodel/issues/52
https://github.com/tiangolo
Merge branch 'main' into init-validation-kwarghttps://github.com/fastapi/sqlmodel/pull/227/commits/d295a05688af8b43c7c6e853dc5f0bdde3003e2e
d295a05https://github.com/fastapi/sqlmodel/pull/227/commits/d295a05688af8b43c7c6e853dc5f0bdde3003e2e
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/ryanjdillon
ryanjdillonhttps://github.com/ryanjdillon
Feb 15, 2023https://github.com/fastapi/sqlmodel/pull/227#issuecomment-1431188819
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/AndrewRiggs-Atkins
Merge branch 'main' into init-validation-kwarghttps://github.com/fastapi/sqlmodel/pull/227/commits/4869ea24b279b4f43ffb28009bce7ebdeb5b6fbd
4869ea2https://github.com/fastapi/sqlmodel/pull/227/commits/4869ea24b279b4f43ffb28009bce7ebdeb5b6fbd
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/AndrewRiggs-Atkins
Updated formatting to resolve E128 lint errorhttps://github.com/fastapi/sqlmodel/pull/227/commits/8857b758055c68c94b474197c1304322d4f1d66b
8857b75https://github.com/fastapi/sqlmodel/pull/227/commits/8857b758055c68c94b474197c1304322d4f1d66b
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/AndrewRiggs-Atkins
Updated formatting to resolve E124 lint errorhttps://github.com/fastapi/sqlmodel/pull/227/commits/d37b8525b716193f9498464c3ec00929995bc556
d37b852https://github.com/fastapi/sqlmodel/pull/227/commits/d37b8525b716193f9498464c3ec00929995bc556
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/AndrewRiggs-Atkins
Updated formatting to resolve E125 lint errorhttps://github.com/fastapi/sqlmodel/pull/227/commits/d49a0d600fb2aa2f5317a0ed2c29b71dbb16b1ee
d49a0d6https://github.com/fastapi/sqlmodel/pull/227/commits/d49a0d600fb2aa2f5317a0ed2c29b71dbb16b1ee
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/AndrewRiggs-Atkins
Updated formatting to resolve E124 lint errorhttps://github.com/fastapi/sqlmodel/pull/227/commits/115de85de1aca953dc79c67b8925df1684165307
115de85https://github.com/fastapi/sqlmodel/pull/227/commits/115de85de1aca953dc79c67b8925df1684165307
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/AndrewRiggs-Atkins
Updated formatting to resolve E124 lint errorhttps://github.com/fastapi/sqlmodel/pull/227/commits/4499f96e59c6d7b60720742f46b472d500d25fbe
4499f96https://github.com/fastapi/sqlmodel/pull/227/commits/4499f96e59c6d7b60720742f46b472d500d25fbe
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 15, 2023https://github.com/fastapi/sqlmodel/pull/227#issuecomment-1431307681
4499f96https://github.com/fastapi/sqlmodel/commit/4499f96e59c6d7b60720742f46b472d500d25fbe
https://63ecd2b82960b411061a9718--sqlmodel.netlify.apphttps://63ecd2b82960b411061a9718--sqlmodel.netlify.app
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/AndrewRiggs-Atkins
AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
Feb 15, 2023https://github.com/fastapi/sqlmodel/pull/227#issuecomment-1431313208
@tiangolohttps://github.com/tiangolo
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
feature https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Afeature
Oct 22, 2023https://github.com/fastapi/sqlmodel/pull/227#event-10733205816
https://github.com/spott
spotthttps://github.com/spott
Jan 2, 2025https://github.com/fastapi/sqlmodel/pull/227#issuecomment-2568058009
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/YuriiMotov
YuriiMotovhttps://github.com/YuriiMotov
Aug 25, 2025 https://github.com/fastapi/sqlmodel/pull/227#pullrequestreview-3151360010
View reviewed changes https://github.com/fastapi/sqlmodel/pull/227/files/4499f96e59c6d7b60720742f46b472d500d25fbe
YuriiMotovhttps://github.com/YuriiMotov
https://github.com/fastapi/sqlmodel/pull/227#pullrequestreview-3151360010
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@AndrewRiggs-Atkinshttps://github.com/AndrewRiggs-Atkins
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
conflicts https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Aconflicts
Sep 5, 2025https://github.com/fastapi/sqlmodel/pull/227#event-19524497698
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 5, 2025https://github.com/fastapi/sqlmodel/pull/227#issuecomment-3257545746
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/svlandeg
svlandeghttps://github.com/svlandeg
Oct 7, 2025https://github.com/fastapi/sqlmodel/pull/227#issuecomment-3375962609
#1041https://github.com/fastapi/sqlmodel/pull/1041
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/ClayGendron
ClayGendronhttps://github.com/ClayGendron
Mar 19, 2026 https://github.com/fastapi/sqlmodel/pull/227#ref-pullrequest-4099046445
Validate SQLModel on all Non-Database Sourced Data #1823 https://github.com/fastapi/sqlmodel/pull/1823
https://github.co/hiddenchars
https://github.com/fastapi/sqlmodel/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%2Ffastapi%2Fsqlmodel%2Fpull%2F227
https://github.com/YuriiMotov
YuriiMotov https://github.com/YuriiMotov
https://github.com/fastapi/sqlmodel/pull/227/files/4499f96e59c6d7b60720742f46b472d500d25fbe
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
conflicts https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Aconflicts
feature https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Afeature
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/227
https://github.com/AndrewRiggs-Atkins
https://github.com/ryanjdillon
https://github.com/spott
https://github.com/svlandeg
https://github.com/YuriiMotov
https://github.com/tiangolo
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.