René's URL Explorer Experiment


Title: 🐛 Fix setting nullable property of Fields that don't accept `None` by van51 · Pull Request #79 · fastapi/sqlmodel · GitHub

Open Graph Title: 🐛 Fix setting nullable property of Fields that don't accept `None` by van51 · Pull Request #79 · fastapi/sqlmodel

X Title: 🐛 Fix setting nullable property of Fields that don't accept `None` by van51 · Pull Request #79 · fastapi/sqlmodel

Description: SQL databases in Python, designed for simplicity, compatibility, and robustness. - 🐛 Fix setting nullable property of Fields that don't accept `None` by van51 · Pull Request #79 · fastapi/sqlmodel

Open Graph Description: Attempt to fix #76 where fields with default values would be considered nullable by sqlmodel, because they would be treated as not_required by Pydantic. Previously The following example code (copy-...

X Description: Attempt to fix #76 where fields with default values would be considered nullable by sqlmodel, because they would be treated as not_required by Pydantic. Previously The following example code (copy-...

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

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:08f988ad-ae47-7f70-8e51-ec96140754a4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id826C:32001F:102C7:162C7:6AFDF98D
html-safe-nonce4fdc8d5bffc21556ffd789044d452bcb9cb436d8a1dc30a3ce9f05b4e7ec0333
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjZDOjMyMDAxRjoxMDJDNzoxNjJDNzo2QUZERjk4RCIsInZpc2l0b3JfaWQiOiI0ODE5MDU5MjA0NjIwNjc5NTY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0ad2297f792c877175717f61cbdd9b3fb2ea090d5dae3442575913a04f697284
hovercard-subject-tagpull_request:727751133
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/79/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1912cd4a5b075275201b69e355e5548ed123c1daacb7f22d392425fa01d32d6d/fastapi/sqlmodel/pull/79
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1912cd4a5b075275201b69e355e5548ed123c1daacb7f22d392425fa01d32d6d/fastapi/sqlmodel/pull/79
og:image:altAttempt to fix #76 where fields with default values would be considered nullable by sqlmodel, because they would be treated as not_required by Pydantic. Previously The following example code (copy-...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevan51
hostnamegithub.com
expected-hostnamegithub.com
Noneee3343385a977757dd145b28fabf4a119780f2615a5a36c5a89f66c9b3b5616d
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
release43ae91995f6e2d5ff7a491f3de438f1f723adeaa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/fastapi/sqlmodel/pull/79#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F79
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%2F79
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/79
Reloadhttps://github.com/fastapi/sqlmodel/pull/79
Reloadhttps://github.com/fastapi/sqlmodel/pull/79
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
tiangolohttps://github.com/tiangolo
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
van51:bugfix/nullable_fieldhttps://github.com/van51/sqlmodel/tree/bugfix/nullable_field
Conversationhttps://github.com/fastapi/sqlmodel/pull/79
Commits3 (3)https://github.com/fastapi/sqlmodel/pull/79/commits
Checkshttps://github.com/fastapi/sqlmodel/pull/79/checks
Files changedhttps://github.com/fastapi/sqlmodel/pull/79/files
🐛 Fix setting nullable property of Fields that don't accept Nonehttps://github.com/fastapi/sqlmodel/pull/79#top
tiangolohttps://github.com/tiangolo
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
van51:bugfix/nullable_fieldhttps://github.com/van51/sqlmodel/tree/bugfix/nullable_field
https://github.com/van51
van51https://github.com/van51
Sep 6, 2021https://github.com/fastapi/sqlmodel/pull/79#issue-988926843
#76https://github.com/fastapi/sqlmodel/issues/76
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/van51
🎨 Fix nullable property of Fieldshttps://github.com/fastapi/sqlmodel/pull/79/commits/83870d19d6aa6b9b7cd93183d9729b023c8208b2
83870d1https://github.com/fastapi/sqlmodel/pull/79/commits/83870d19d6aa6b9b7cd93183d9729b023c8208b2
https://github.com/Brobin
Brobinhttps://github.com/Brobin
Oct 7, 2021https://github.com/fastapi/sqlmodel/pull/79#issuecomment-937907531
@tiangolohttps://github.com/tiangolo
#119https://github.com/fastapi/sqlmodel/issues/119
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/r614
r614https://github.com/r614
Oct 7, 2021https://github.com/fastapi/sqlmodel/pull/79#issuecomment-938004986
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/highflyingaction
highflyingactionhttps://github.com/highflyingaction
Nov 8, 2021 https://github.com/fastapi/sqlmodel/pull/79#pullrequestreview-800296874
View reviewed changes https://github.com/fastapi/sqlmodel/pull/79/files/83870d19d6aa6b9b7cd93183d9729b023c8208b2
sqlmodel/main.pyhttps://github.com/fastapi/sqlmodel/pull/79/files/83870d19d6aa6b9b7cd93183d9729b023c8208b2#diff-d47aa94b4399636b3bf61c282806410ca16c47e6edb13a2d3ba675f9460e7389
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
tiangolohttps://github.com/tiangolo
August 28, 2022 00:14https://github.com/fastapi/sqlmodel/pull/79#commits-pushed-2877c12
https://github.com/tiangolo
Merge branch 'main' into bugfix/nullable_fieldhttps://github.com/fastapi/sqlmodel/pull/79/commits/2877c12f33a4bed96814b2fa1a8534756dc1da89
2877c12https://github.com/fastapi/sqlmodel/pull/79/commits/2877c12f33a4bed96814b2fa1a8534756dc1da89
https://github.com/tiangolo
♻️ Move isnullable check after attribute to reset if it's a primary keyhttps://github.com/fastapi/sqlmodel/pull/79/commits/33daef3033d92e790b1c54b6ae4ebbf60a735813
33daef3https://github.com/fastapi/sqlmodel/pull/79/commits/33daef3033d92e790b1c54b6ae4ebbf60a735813
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 27, 2022https://github.com/fastapi/sqlmodel/pull/79#issuecomment-1229277959
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
Codecovhttps://codecov.io/gh/tiangolo/sqlmodel/pull/79?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez
#79https://codecov.io/gh/tiangolo/sqlmodel/pull/79?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez
33daef3https://github.com/fastapi/sqlmodel/commit/33daef3033d92e790b1c54b6ae4ebbf60a735813
mainhttps://codecov.io/gh/tiangolo/sqlmodel/commit/2407ecd2bf93968bed17c54ee5954959b90cf02f?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez
2407ecdhttps://github.com/fastapi/sqlmodel/commit/2407ecd2bf93968bed17c54ee5954959b90cf02f
Impacted Fileshttps://codecov.io/gh/tiangolo/sqlmodel/pull/79?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez
sqlmodel/main.pyhttps://codecov.io/gh/tiangolo/sqlmodel/pull/79/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez#diff-c3FsbW9kZWwvbWFpbi5weQ==
...orial/test_create_db_and_table/test_tutorial001.pyhttps://codecov.io/gh/tiangolo/sqlmodel/pull/79/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez#diff-dGVzdHMvdGVzdF90dXRvcmlhbC90ZXN0X2NyZWF0ZV9kYl9hbmRfdGFibGUvdGVzdF90dXRvcmlhbDAwMS5weQ==
how you rate ushttps://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez
Share it here.https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sebasti%C3%A1n+Ram%C3%ADrez
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 27, 2022https://github.com/fastapi/sqlmodel/pull/79#issuecomment-1229278081
2877c12https://github.com/fastapi/sqlmodel/commit/2877c12f33a4bed96814b2fa1a8534756dc1da89
https://630a97760a0b955025267d1a--sqlmodel.netlify.apphttps://630a97760a0b955025267d1a--sqlmodel.netlify.app
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
Aug 27, 2022https://github.com/fastapi/sqlmodel/pull/79#event-7272588017
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 27, 2022https://github.com/fastapi/sqlmodel/pull/79#issuecomment-1229278342
33daef3https://github.com/fastapi/sqlmodel/commit/33daef3033d92e790b1c54b6ae4ebbf60a735813
https://630a97d81b8fa54cf7654d6b--sqlmodel.netlify.apphttps://630a97d81b8fa54cf7654d6b--sqlmodel.netlify.app
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
Aug 27, 2022https://github.com/fastapi/sqlmodel/pull/79#issuecomment-1229278548
@van51https://github.com/van51
@highflyingactionhttps://github.com/highflyingaction
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
9830ee0https://github.com/fastapi/sqlmodel/commit/9830ee0d8991ffc068ffb72ccead2427c84e58ee
Aug 27, 2022https://github.com/fastapi/sqlmodel/pull/79#event-7272589155
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
Aug 27, 2022 https://github.com/fastapi/sqlmodel/pull/79#ref-issue-1013566249
Alembic settings primary key to nullable #119 https://github.com/fastapi/sqlmodel/issues/119
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 13, 2026 https://github.com/fastapi/sqlmodel/pull/79#ref-pullrequest-4870108601
群排行功能 sssysy/SteamUID#6 https://github.com/sssysy/SteamUID/pull/6
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 19, 2026 https://github.com/fastapi/sqlmodel/pull/79#ref-pullrequest-5189031263
Capture per-tool-call rows from tool_execution_updated (closes #247) mahimailabs/voicegateway#254 https://github.com/mahimailabs/voicegateway/pull/254
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%2F79
https://github.com/tiangolo
tiangolo https://github.com/tiangolo
https://github.com/fastapi/sqlmodel/pull/79/files/83870d19d6aa6b9b7cd93183d9729b023c8208b2
https://github.com/highflyingaction
highflyingaction https://github.com/highflyingaction
https://github.com/fastapi/sqlmodel/pull/79/files/83870d19d6aa6b9b7cd93183d9729b023c8208b2
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
Non-optional property with default value is not translated to a non-nullable field in sqlalchemy https://github.com/fastapi/sqlmodel/issues/76
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/79
https://github.com/van51
https://github.com/Brobin
https://github.com/r614
https://github.com/tiangolo
https://github.com/highflyingaction
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.