| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:004313ed-278c-5d46-6f39-ddc2b198b3b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D666:A032D:587D7A:798742:6AFDE8A4 |
| html-safe-nonce | c7b3ba3239a9aa583987b57411353b778e44a91e43b719e91dfe5346bc8dfb3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjY2OkEwMzJEOjU4N0Q3QTo3OTg3NDI6NkFGREU4QTQiLCJ2aXNpdG9yX2lkIjoiNDQ3MDI1MzExMjIzNzM1MzEyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f5e5b1654424567159f2c3d9c743c2dd16d5ba02b1809ffabfc6b866dab22cb4 |
| hovercard-subject-tag | pull_request:1792658346 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/fastapi/sqlmodel/862/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c560f635bb642c8f1dcefae9399f7773619b6c32bea37640686e5990e18e9df5/fastapi/sqlmodel/pull/862 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c560f635bb642c8f1dcefae9399f7773619b6c32bea37640686e5990e18e9df5/fastapi/sqlmodel/pull/862 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | proever |
| hostname | github.com |
| expected-hostname | github.com |
| None | 91ef1a291a064ac31ac459ab3f75261dbdd924c41ea5bd027e591c5b46cc9ce7 |
| turbo-cache-control | no-cache |
| go-import | github.com/fastapi/sqlmodel git https://github.com/fastapi/sqlmodel.git |
| octolytics-dimension-user_id | 156354296 |
| octolytics-dimension-user_login | fastapi |
| octolytics-dimension-repository_id | 399495186 |
| octolytics-dimension-repository_nwo | fastapi/sqlmodel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 399495186 |
| octolytics-dimension-repository_network_root_nwo | fastapi/sqlmodel |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d62bc98ce2346f4006e4a2810e9e22f37e7e6422 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/fastapi/sqlmodel/pull/862#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F862 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffastapi%2Fsqlmodel%2Fpull%2F862 |
| 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=fastapi%2Fsqlmodel |
| Reload | https://github.com/fastapi/sqlmodel/pull/862 |
| Reload | https://github.com/fastapi/sqlmodel/pull/862 |
| Reload | https://github.com/fastapi/sqlmodel/pull/862 |
| fastapi | https://github.com/fastapi |
| sqlmodel | https://github.com/fastapi/sqlmodel |
| Code | https://github.com/fastapi/sqlmodel |
| Issues1 (1) | https://github.com/fastapi/sqlmodel/issues |
| Pull requests53 (53) | https://github.com/fastapi/sqlmodel/pulls |
| Discussions | https://github.com/fastapi/sqlmodel/discussions |
| Actions | https://github.com/fastapi/sqlmodel/actions |
| Projects | https://github.com/fastapi/sqlmodel/projects |
| Security and quality | https://github.com/fastapi/sqlmodel/security |
| Insights | https://github.com/fastapi/sqlmodel/insights |
| https://github.com/fastapi/sqlmodel |
| proever | https://github.com/proever |
| fastapi:main | https://github.com/fastapi/sqlmodel/tree/main |
| proever:annotated-type-support | https://github.com/proever/sqlmodel/tree/annotated-type-support |
| Conversation | https://github.com/fastapi/sqlmodel/pull/862 |
| Commits4 (4) | https://github.com/fastapi/sqlmodel/pull/862/commits |
| Checks | https://github.com/fastapi/sqlmodel/pull/862/checks |
| Files changed | https://github.com/fastapi/sqlmodel/pull/862/files |
| support optional annotated field with default value | https://github.com/fastapi/sqlmodel/pull/862#top |
| proever | https://github.com/proever |
| fastapi:main | https://github.com/fastapi/sqlmodel/tree/main |
| proever:annotated-type-support | https://github.com/proever/sqlmodel/tree/annotated-type-support |
|
| https://github.com/proever |
| proever | https://github.com/proever |
| Mar 26, 2024 | https://github.com/fastapi/sqlmodel/pull/862#issue-2209347643 |
| #67 | https://github.com/fastapi/sqlmodel/issues/67 |
| #312 | https://github.com/fastapi/sqlmodel/issues/312 |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| proever | https://github.com/proever |
| March 26, 2024 16:22 | https://github.com/fastapi/sqlmodel/pull/862#commits-pushed-bef1602 |
|
| https://github.com/proever |
| support passing fields as annotated types | https://github.com/fastapi/sqlmodel/pull/862/commits/bef160292635b7057641ff368a507342db08c3fa |
| bef1602 | https://github.com/fastapi/sqlmodel/pull/862/commits/bef160292635b7057641ff368a507342db08c3fa |
|
| https://github.com/proever |
| add test for optional annotated decimal field | https://github.com/fastapi/sqlmodel/pull/862/commits/605291fce2458f75808cf3382fa026b493b7dcc2 |
| 605291f | https://github.com/fastapi/sqlmodel/pull/862/commits/605291fce2458f75808cf3382fa026b493b7dcc2 |
| https://github.com/proever |
| proever | https://github.com/proever |
| Mar 26, 2024 | https://github.com/fastapi/sqlmodel/pull/862#issuecomment-2021660551 |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| https://github.com/Csaba1205 |
| Csaba1205 | https://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 |
| bootc | https://github.com/bootc |
| Jun 4, 2024 | https://github.com/fastapi/sqlmodel/pull/862#issuecomment-2147664203 |
| @proever | https://github.com/proever |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| https://github.com/alejsdev |
| alejsdev | https://github.com/alejsdev |
|
feature
| https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Afeature |
| Jul 12, 2024 | https://github.com/fastapi/sqlmodel/pull/862#event-13491009807 |
| https://github.com/msftcangoblowm |
| msftcangoblowm | https://github.com/msftcangoblowm |
| Jul 7, 2025 | https://github.com/fastapi/sqlmodel/pull/862#issuecomment-3044287733 |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| decorator-pattern | https://docs.pydantic.dev/2.11/concepts/validators/#using-the-decorator-pattern |
| annotated-pattern | https://docs.pydantic.dev/2.11/concepts/validators/#using-the-annotated-pattern |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| YuriiMotov | https://github.com/YuriiMotov |
| August 22, 2025 19:34 | https://github.com/fastapi/sqlmodel/pull/862#commits-pushed-4398a61 |
|
| https://github.com/YuriiMotov |
| Merge branch 'main' into annotated-type-support | https://github.com/fastapi/sqlmodel/pull/862/commits/4398a6186dd3b973ef564f85cf833ee82d09969b |
| 4398a61 | https://github.com/fastapi/sqlmodel/pull/862/commits/4398a6186dd3b973ef564f85cf833ee82d09969b |
|
| https://github.com/marketplace/pre-commit-ci |
| 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks | https://github.com/fastapi/sqlmodel/pull/862/commits/12368da428b0ef5153935fa91d4bd63a1f8e2414 |
| 12368da | https://github.com/fastapi/sqlmodel/pull/862/commits/12368da428b0ef5153935fa91d4bd63a1f8e2414 |
| https://github.com/YuriiMotov |
| YuriiMotov | https://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 |
| YuriiMotov | https://github.com/YuriiMotov |
| https://github.com/fastapi/sqlmodel/pull/862#pullrequestreview-3145301107 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #1281 | https://github.com/fastapi/sqlmodel/pull/1281 |
| @proever | https://github.com/proever |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| sqlmodel/main.py | https://github.com/fastapi/sqlmodel/pull/862/files/12368da428b0ef5153935fa91d4bd63a1f8e2414#diff-d47aa94b4399636b3bf61c282806410ca16c47e6edb13a2d3ba675f9460e7389 |
| YuriiMotov | https://github.com/YuriiMotov |
| Aug 22, 2025 | https://github.com/fastapi/sqlmodel/pull/862#discussion_r2294299032 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| https://github.com/tiangolo |
| tiangolo | https://github.com/tiangolo |
| Sep 20, 2025 | https://github.com/fastapi/sqlmodel/pull/862#issuecomment-3315060555 |
| @YuriiMotov | https://github.com/YuriiMotov |
| Please reload this page | https://github.com/fastapi/sqlmodel/pull/862 |
| https://github.com/tiangolo |
| tiangolo | https://github.com/tiangolo |
| Sep 20, 2025 | https://github.com/fastapi/sqlmodel/pull/862#event-19816786570 |
| https://github.co/hiddenchars |
| https://github.com/fastapi/sqlmodel/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/fastapi/sqlmodel/pull/862 |
|
feature
| https://github.com/fastapi/sqlmodel/issues?q=state%3Aopen%20label%3Afeature |
| Please reload this page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |