| 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 | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:a97285cc-941f-ffad-109d-5318e6190e69 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | EC54:3FD03A:753C35:A106B7:6AFDEF61 |
| html-safe-nonce | 1094951d80ab542544a6a5357dea39e57430bcc80fc3334ba4e46a6f59332a3e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzU0OjNGRDAzQTo3NTNDMzU6QTEwNkI3OjZBRkRFRjYxIiwidmlzaXRvcl9pZCI6IjMyNTE4MDc4Nzg2MjA1MDgwMDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2e5cda276fa7af72e87137d8bb54c136864086604ac689b5cef4d0c609707e37 |
| hovercard-subject-tag | repository:1161274771 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/africoding/sqlmodel/commits/main/docs_src/tutorial/fastapi |
| twitter:image | https://opengraph.githubassets.com/63b5c48c543c22a65fbfa23b3925c313a1689671c8c9a51f80ec9137eaa86806/africoding/sqlmodel |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/63b5c48c543c22a65fbfa23b3925c313a1689671c8c9a51f80ec9137eaa86806/africoding/sqlmodel |
| og:image:alt | SQL databases in Python, designed for simplicity, compatibility, and robustness. - History for docs_src/tutorial/fastapi - africoding/sqlmodel |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd812ec581ecac95855f5ec917ef9827506c39a9da1443f43ddb4179a46471eb |
| turbo-cache-control | no-cache |
| go-import | github.com/africoding/sqlmodel git https://github.com/africoding/sqlmodel.git |
| octolytics-dimension-user_id | 67064161 |
| octolytics-dimension-user_login | africoding |
| octolytics-dimension-repository_id | 1161274771 |
| octolytics-dimension-repository_nwo | africoding/sqlmodel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 399495186 |
| octolytics-dimension-repository_parent_nwo | fastapi/sqlmodel |
| 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 | 32ac708bac264dafdc28e10ff49b4d137f0c34a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://github.com/africoding/sqlmodel/commits/main/docs_src/tutorial/fastapi#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fafricoding%2Fsqlmodel%2Fcommits%2Fmain%2Fdocs_src%2Ftutorial%2Ffastapi |
| 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%2Fafricoding%2Fsqlmodel%2Fcommits%2Fmain%2Fdocs_src%2Ftutorial%2Ffastapi |
| 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%2Fcommits%2Fshow&source=header-repo&source_repo=africoding%2Fsqlmodel |
| Reload | https://github.com/africoding/sqlmodel/commits/main/docs_src/tutorial/fastapi |
| Reload | https://github.com/africoding/sqlmodel/commits/main/docs_src/tutorial/fastapi |
| Reload | https://github.com/africoding/sqlmodel/commits/main/docs_src/tutorial/fastapi |
| africoding | https://github.com/africoding |
| sqlmodel | https://github.com/africoding/sqlmodel |
| Code | https://github.com/africoding/sqlmodel |
| Pull requests | https://github.com/africoding/sqlmodel/pulls |
| Actions | https://github.com/africoding/sqlmodel/actions |
| Projects | https://github.com/africoding/sqlmodel/projects |
| Security and quality | https://github.com/africoding/sqlmodel/security |
| Insights | https://github.com/africoding/sqlmodel/pulse |
| https://github.com/africoding/sqlmodel |
| sqlmodel | https://github.com/africoding/sqlmodel/commits |
| docs_src | https://github.com/africoding/sqlmodel/commits/main/docs_src |
| tutorial | https://github.com/africoding/sqlmodel/commits/main/docs_src/tutorial |
| fastapi | https://github.com/africoding/sqlmodel/commits/main/docs_src/tutorial/fastapi |
| main | https://github.com/africoding/sqlmodel/tree/main |
| ➖ Drop support for Python 3.8 in CI and docs (#1695) | https://github.com/africoding/sqlmodel/commit/afc0c324cf436e40043353b8d4e1150b922ab383 |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| YuriiMotov | https://github.com/africoding/sqlmodel/commits?author=YuriiMotov |
| afc0c32 | https://github.com/africoding/sqlmodel/commit/afc0c324cf436e40043353b8d4e1150b922ab383 |
| https://github.com/africoding/sqlmodel/blob/afc0c324cf436e40043353b8d4e1150b922ab383/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/afc0c324cf436e40043353b8d4e1150b922ab383 |
| 📝 Update FastAPI tutorial docs to use the new `model.sqlmodel_update()` instead of old `setattr()` (#1117) | https://github.com/africoding/sqlmodel/commit/bc67b582b682d41a7eb2ba7d3b65892e7afb46dc |
| jpizquierdo | https://github.com/africoding/sqlmodel/commits?author=jpizquierdo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| bc67b58 | https://github.com/africoding/sqlmodel/commit/bc67b582b682d41a7eb2ba7d3b65892e7afb46dc |
| https://github.com/africoding/sqlmodel/blob/bc67b582b682d41a7eb2ba7d3b65892e7afb46dc/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/bc67b582b682d41a7eb2ba7d3b65892e7afb46dc |
| 📝 Update admonitions in annotations (#1065) | https://github.com/africoding/sqlmodel/commit/ee44f3b85ec50e0443b8ebf8348f1113ef110b73 |
| https://github.com/tiangolo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| ee44f3b | https://github.com/africoding/sqlmodel/commit/ee44f3b85ec50e0443b8ebf8348f1113ef110b73 |
| https://github.com/africoding/sqlmodel/blob/ee44f3b85ec50e0443b8ebf8348f1113ef110b73/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/ee44f3b85ec50e0443b8ebf8348f1113ef110b73 |
| 📝 Update ModelRead to ModelPublic documentation and examples (#885) | https://github.com/africoding/sqlmodel/commit/1eb40b1f33aaebd02f03fd1986e242b65c79d573 |
| estebanx64 | https://github.com/africoding/sqlmodel/commits?author=estebanx64 |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| 1eb40b1 | https://github.com/africoding/sqlmodel/commit/1eb40b1f33aaebd02f03fd1986e242b65c79d573 |
| https://github.com/africoding/sqlmodel/blob/1eb40b1f33aaebd02f03fd1986e242b65c79d573/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/1eb40b1f33aaebd02f03fd1986e242b65c79d573 |
| ✨ Add source examples for Python 3.10 and 3.9 with updated syntax (#842) | https://github.com/africoding/sqlmodel/commit/9141c8a920ab291b0761c53b3440767ddb3a60ef |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| estebanx64 | https://github.com/africoding/sqlmodel/commits?author=estebanx64 |
| 9141c8a | https://github.com/africoding/sqlmodel/commit/9141c8a920ab291b0761c53b3440767ddb3a60ef |
| https://github.com/africoding/sqlmodel/blob/9141c8a920ab291b0761c53b3440767ddb3a60ef/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/9141c8a920ab291b0761c53b3440767ddb3a60ef |
| ✨ Add new method `sqlmodel_update()` to update models in place, including an `update` parameter for extra data (#804) | https://github.com/africoding/sqlmodel/commit/fa12c5d87b58d24017784af729b29e5b4141f2bb |
| https://github.com/tiangolo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| fa12c5d | https://github.com/africoding/sqlmodel/commit/fa12c5d87b58d24017784af729b29e5b4141f2bb |
| https://github.com/africoding/sqlmodel/blob/fa12c5d87b58d24017784af729b29e5b4141f2bb/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/fa12c5d87b58d24017784af729b29e5b4141f2bb |
| ✨ Add support for Pydantic v2 (while keeping support for v1 if v2 is not available), including initial work by AntonDeMeester (#722) | https://github.com/africoding/sqlmodel/commit/fa2f178b8abee3e58b490bbfc0c7a7df966a1fe9 |
| fa2f178 | https://github.com/africoding/sqlmodel/commit/fa2f178b8abee3e58b490bbfc0c7a7df966a1fe9 |
| https://github.com/africoding/sqlmodel/blob/fa2f178b8abee3e58b490bbfc0c7a7df966a1fe9/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/fa2f178b8abee3e58b490bbfc0c7a7df966a1fe9 |
| 📝 Add source examples for Python 3.9 and 3.10 (#715) | https://github.com/africoding/sqlmodel/commit/d8effcbc5cef783063d59e3cc3dd6e7c492ca4c4 |
| https://github.com/tiangolo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| d8effcb | https://github.com/africoding/sqlmodel/commit/d8effcbc5cef783063d59e3cc3dd6e7c492ca4c4 |
| https://github.com/africoding/sqlmodel/blob/d8effcbc5cef783063d59e3cc3dd6e7c492ca4c4/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/d8effcbc5cef783063d59e3cc3dd6e7c492ca4c4 |
| 🎨 Update inline source examples, hide `#` in annotations (from MkDocs Material) (#677) | https://github.com/africoding/sqlmodel/commit/963298066402813273a2982e450f4eaf2f86ab79 |
| Matthieu-LAURENT39 | https://github.com/africoding/sqlmodel/commits?author=Matthieu-LAURENT39 |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| 9632980 | https://github.com/africoding/sqlmodel/commit/963298066402813273a2982e450f4eaf2f86ab79 |
| https://github.com/africoding/sqlmodel/blob/963298066402813273a2982e450f4eaf2f86ab79/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/963298066402813273a2982e450f4eaf2f86ab79 |
| 📝 Fix docs for Pydantic's fields using `le` (`lte` is invalid, use `le` ) (#207) | https://github.com/africoding/sqlmodel/commit/d192142eb9e83d52c3cb5bd7d5bcba93d40cb41c |
| jrycw | https://github.com/africoding/sqlmodel/commits?author=jrycw |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| d192142 | https://github.com/africoding/sqlmodel/commit/d192142eb9e83d52c3cb5bd7d5bcba93d40cb41c |
| https://github.com/africoding/sqlmodel/blob/d192142eb9e83d52c3cb5bd7d5bcba93d40cb41c/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/d192142eb9e83d52c3cb5bd7d5bcba93d40cb41c |
| 🎨 Update docs format and references with pre-commit and Ruff (#667) | https://github.com/africoding/sqlmodel/commit/56f43904c1ad8228523d96053541bb535ae6123c |
| https://github.com/tiangolo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| 56f4390 | https://github.com/africoding/sqlmodel/commit/56f43904c1ad8228523d96053541bb535ae6123c |
| https://github.com/africoding/sqlmodel/blob/56f43904c1ad8228523d96053541bb535ae6123c/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/56f43904c1ad8228523d96053541bb535ae6123c |
| 📝 Update docs for models for updating, `id` should not be updatable (#335) | https://github.com/africoding/sqlmodel/commit/a2cda8377fa4c9e5a75d751571d715032bd5033e |
| kurtportelli | https://github.com/africoding/sqlmodel/commits?author=kurtportelli |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| a2cda83 | https://github.com/africoding/sqlmodel/commit/a2cda8377fa4c9e5a75d751571d715032bd5033e |
| https://github.com/africoding/sqlmodel/blob/a2cda8377fa4c9e5a75d751571d715032bd5033e/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/a2cda8377fa4c9e5a75d751571d715032bd5033e |
| ✨ Document indexes and make them opt-in (#205) | https://github.com/africoding/sqlmodel/commit/155c6178cd18671c8046c27c22ed580a9e4b1fb9 |
| https://github.com/tiangolo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| 155c617 | https://github.com/africoding/sqlmodel/commit/155c6178cd18671c8046c27c22ed580a9e4b1fb9 |
| https://github.com/africoding/sqlmodel/blob/155c6178cd18671c8046c27c22ed580a9e4b1fb9/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/155c6178cd18671c8046c27c22ed580a9e4b1fb9 |
| 📝 Add docs annotations for source examples | https://github.com/africoding/sqlmodel/commit/dc331f649cde36a9755bc1ba6828e4815a4d5517 |
| https://github.com/tiangolo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| dc331f6 | https://github.com/africoding/sqlmodel/commit/dc331f649cde36a9755bc1ba6828e4815a4d5517 |
| https://github.com/africoding/sqlmodel/blob/dc331f649cde36a9755bc1ba6828e4815a4d5517/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/dc331f649cde36a9755bc1ba6828e4815a4d5517 |
| ✨ Add source examples for docs | https://github.com/africoding/sqlmodel/commit/e6308146f7e7cdb91ba9a80cbd02833b983814c0 |
| https://github.com/tiangolo |
| tiangolo | https://github.com/africoding/sqlmodel/commits?author=tiangolo |
| e630814 | https://github.com/africoding/sqlmodel/commit/e6308146f7e7cdb91ba9a80cbd02833b983814c0 |
| https://github.com/africoding/sqlmodel/blob/e6308146f7e7cdb91ba9a80cbd02833b983814c0/docs_src/tutorial/fastapi |
| https://github.com/africoding/sqlmodel/tree/e6308146f7e7cdb91ba9a80cbd02833b983814c0 |
|
| 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 |