René's URL Explorer Experiment


Title: support optional annotated field with default value by proever · Pull Request #862 · fastapi/sqlmodel · GitHub

Open Graph Title: support optional annotated field with default value by proever · Pull Request #862 · fastapi/sqlmodel

X Title: support optional annotated field with default value by proever · Pull Request #862 · fastapi/sqlmodel

Description: SQL databases in Python, designed for simplicity, compatibility, and robustness. - support optional annotated field with default value by proever · Pull Request #862 · fastapi/sqlmodel

Open Graph Description: Currently, it is not possible to specify a SQLModel with an Optional complex type, such as a Decimal, as follows: from decimal import Decimal from typing import Annotated from sqlmodel import Field...

X Description: Currently, it is not possible to specify a SQLModel with an Optional complex type, such as a Decimal, as follows: from decimal import Decimal from typing import Annotated from sqlmodel import Field...

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

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:004313ed-278c-5d46-6f39-ddc2b198b3b3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD666:A032D:587D7A:798742:6AFDE8A4
html-safe-noncec7b3ba3239a9aa583987b57411353b778e44a91e43b719e91dfe5346bc8dfb3b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjY2OkEwMzJEOjU4N0Q3QTo3OTg3NDI6NkFGREU4QTQiLCJ2aXNpdG9yX2lkIjoiNDQ3MDI1MzExMjIzNzM1MzEyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf5e5b1654424567159f2c3d9c743c2dd16d5ba02b1809ffabfc6b866dab22cb4
hovercard-subject-tagpull_request:1792658346
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/862/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c560f635bb642c8f1dcefae9399f7773619b6c32bea37640686e5990e18e9df5/fastapi/sqlmodel/pull/862
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c560f635bb642c8f1dcefae9399f7773619b6c32bea37640686e5990e18e9df5/fastapi/sqlmodel/pull/862
og:image:altCurrently, it is not possible to specify a SQLModel with an Optional complex type, such as a Decimal, as follows: from decimal import Decimal from typing import Annotated from sqlmodel import Field...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameproever
hostnamegithub.com
expected-hostnamegithub.com
None91ef1a291a064ac31ac459ab3f75261dbdd924c41ea5bd027e591c5b46cc9ce7
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
released62bc98ce2346f4006e4a2810e9e22f37e7e6422
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/fastapi/sqlmodel/pull/862#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F862
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%2F862
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/862
Reloadhttps://github.com/fastapi/sqlmodel/pull/862
Reloadhttps://github.com/fastapi/sqlmodel/pull/862
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
proeverhttps://github.com/proever
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
proever:annotated-type-supporthttps://github.com/proever/sqlmodel/tree/annotated-type-support
Conversationhttps://github.com/fastapi/sqlmodel/pull/862
Commits4 (4)https://github.com/fastapi/sqlmodel/pull/862/commits
Checkshttps://github.com/fastapi/sqlmodel/pull/862/checks
Files changedhttps://github.com/fastapi/sqlmodel/pull/862/files
support optional annotated field with default valuehttps://github.com/fastapi/sqlmodel/pull/862#top
proeverhttps://github.com/proever
fastapi:mainhttps://github.com/fastapi/sqlmodel/tree/main
proever:annotated-type-supporthttps://github.com/proever/sqlmodel/tree/annotated-type-support
https://github.com/proever
proeverhttps://github.com/proever
Mar 26, 2024https://github.com/fastapi/sqlmodel/pull/862#issue-2209347643
#67https://github.com/fastapi/sqlmodel/issues/67
#312https://github.com/fastapi/sqlmodel/issues/312
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
proeverhttps://github.com/proever
March 26, 2024 16:22https://github.com/fastapi/sqlmodel/pull/862#commits-pushed-bef1602
https://github.com/proever
support passing fields as annotated typeshttps://github.com/fastapi/sqlmodel/pull/862/commits/bef160292635b7057641ff368a507342db08c3fa
bef1602https://github.com/fastapi/sqlmodel/pull/862/commits/bef160292635b7057641ff368a507342db08c3fa
https://github.com/proever
add test for optional annotated decimal fieldhttps://github.com/fastapi/sqlmodel/pull/862/commits/605291fce2458f75808cf3382fa026b493b7dcc2
605291fhttps://github.com/fastapi/sqlmodel/pull/862/commits/605291fce2458f75808cf3382fa026b493b7dcc2
https://github.com/proever
proeverhttps://github.com/proever
Mar 26, 2024https://github.com/fastapi/sqlmodel/pull/862#issuecomment-2021660551
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
https://github.com/Csaba1205
Csaba1205https://github.com/Csaba1205
Apr 23, 2024 https://github.com/fastapi/sqlmodel/pull/862#pullrequestreview-2018402411
View reviewed changes https://github.com/fastapi/sqlmodel/pull/862/files/605291fce2458f75808cf3382fa026b493b7dcc2
https://github.com/bootc
bootchttps://github.com/bootc
Jun 4, 2024https://github.com/fastapi/sqlmodel/pull/862#issuecomment-2147664203
@proeverhttps://github.com/proever
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
https://github.com/alejsdev
alejsdevhttps://github.com/alejsdev
feature https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Afeature
Jul 12, 2024https://github.com/fastapi/sqlmodel/pull/862#event-13491009807
https://github.com/msftcangoblowm
msftcangoblowmhttps://github.com/msftcangoblowm
Jul 7, 2025https://github.com/fastapi/sqlmodel/pull/862#issuecomment-3044287733
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
decorator-patternhttps://docs.pydantic.dev/2.11/concepts/validators/#using-the-decorator-pattern
annotated-patternhttps://docs.pydantic.dev/2.11/concepts/validators/#using-the-annotated-pattern
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
YuriiMotovhttps://github.com/YuriiMotov
August 22, 2025 19:34https://github.com/fastapi/sqlmodel/pull/862#commits-pushed-4398a61
https://github.com/YuriiMotov
Merge branch 'main' into annotated-type-supporthttps://github.com/fastapi/sqlmodel/pull/862/commits/4398a6186dd3b973ef564f85cf833ee82d09969b
4398a61https://github.com/fastapi/sqlmodel/pull/862/commits/4398a6186dd3b973ef564f85cf833ee82d09969b
https://github.com/marketplace/pre-commit-ci
🎨 [pre-commit.ci] Auto format from pre-commit.com hookshttps://github.com/fastapi/sqlmodel/pull/862/commits/12368da428b0ef5153935fa91d4bd63a1f8e2414
12368dahttps://github.com/fastapi/sqlmodel/pull/862/commits/12368da428b0ef5153935fa91d4bd63a1f8e2414
https://github.com/YuriiMotov
YuriiMotovhttps://github.com/YuriiMotov
Aug 22, 2025 https://github.com/fastapi/sqlmodel/pull/862#pullrequestreview-3145301107
View reviewed changes https://github.com/fastapi/sqlmodel/pull/862/files/12368da428b0ef5153935fa91d4bd63a1f8e2414
YuriiMotovhttps://github.com/YuriiMotov
https://github.com/fastapi/sqlmodel/pull/862#pullrequestreview-3145301107
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1281https://github.com/fastapi/sqlmodel/pull/1281
@proeverhttps://github.com/proever
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
sqlmodel/main.pyhttps://github.com/fastapi/sqlmodel/pull/862/files/12368da428b0ef5153935fa91d4bd63a1f8e2414#diff-d47aa94b4399636b3bf61c282806410ca16c47e6edb13a2d3ba675f9460e7389
YuriiMotovhttps://github.com/YuriiMotov
Aug 22, 2025https://github.com/fastapi/sqlmodel/pull/862#discussion_r2294299032
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
Sep 20, 2025https://github.com/fastapi/sqlmodel/pull/862#issuecomment-3315060555
@YuriiMotovhttps://github.com/YuriiMotov
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
https://github.com/tiangolo
tiangolohttps://github.com/tiangolo
Sep 20, 2025https://github.com/fastapi/sqlmodel/pull/862#event-19816786570
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%2F862
https://github.com/YuriiMotov
YuriiMotov https://github.com/YuriiMotov
https://github.com/fastapi/sqlmodel/pull/862/files/12368da428b0ef5153935fa91d4bd63a1f8e2414
https://github.com/Csaba1205
Csaba1205 https://github.com/Csaba1205
https://github.com/fastapi/sqlmodel/pull/862/files/605291fce2458f75808cf3382fa026b493b7dcc2
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
feature https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Afeature
Please reload this pagehttps://github.com/fastapi/sqlmodel/pull/862
https://github.com/proever
https://github.com/bootc
https://github.com/msftcangoblowm
https://github.com/tiangolo
https://github.com/YuriiMotov
https://github.com/Csaba1205
https://github.com/alejsdev
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.