70 Commits

Author SHA1 Message Date
e7b970cfa8 🍱 Update SVG files, a single file per diagram, sans-serif fonts (#1373)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-11 19:13:38 +02:00
fa9efc56d8 📝 Grammar tweak in docs/tutorial/insert.md (#1368) 2025-05-06 10:10:34 +02:00
d290787ada 📝 Update docs/tutorial/fastapi/relationships.md (#1365) 2025-05-06 10:08:46 +02:00
61523864f1 📝 Update all docs references to Optional to use the new syntax in Python 3.10, e.g. int | None (#1351) 2025-04-27 20:53:37 +02:00
dd03d05889 📝 Update install and usage with FastAPI CLI in FastAPI tutorial (#1350) 2025-04-27 13:19:59 +00:00
bc67b582b6 📝 Update FastAPI tutorial docs to use the new model.sqlmodel_update() instead of old setattr() (#1117)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-04-27 15:02:41 +02:00
b66ec8eed3 ⬆️ Drop support for Python 3.7, require Python 3.8 or above (#1316) 2025-03-16 21:32:07 +01:00
1bd5f27ed4 📝 Update documentation to refer to list instead of List (#1147)
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com>
2025-02-28 14:58:52 +01:00
073e4f9fd1 ✏️ Fix typo in docs/tutorial/create-db-and-table.md (#1252) 2025-01-02 21:16:19 +00:00
c889139491 ✏️ Fix typo in insert.md (#1256)
fix: Typo in insert.md

Fixed the typo in  'left of' with 'left off'.
2024-12-26 16:48:55 +01:00
5100200bea 📝 Update markdown includes format (#1254) 2024-12-22 14:30:05 +00:00
45bc96e8a3 📝 Update includes for docs/tutorial/create-db-and-table.md (#1149) 2024-10-26 23:05:08 +01:00
fa0ec972ce ✏️ Fix typo in documentation (#1106) 2024-09-21 20:44:22 +02:00
e46572f2ab 📝 Remove highlights in indexes.md (#1100) 2024-09-03 16:13:17 +02:00
c96d6b791c 📝 Add docs for virtual environments and environment variables, update contributing (#1082) 2024-08-23 14:03:39 -05:00
8c8988f333 📝 Add docs about repo management and team (#1059) 2024-08-09 16:27:10 -05:00
970492487a 👷 Upgrade build docs configs (#1047)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-09 00:13:10 +00:00
605bc8229c ✏️ Fix typo in cascade_delete docs (#1030) 2024-07-22 22:52:55 +00:00
86ab09f7ec Add support for cascade delete relationships: cascade_delete, ondelete, and passive_deletes (#983)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-07-20 21:08:06 -05:00
da1253c21f 📝 Update docs (#1003) 2024-07-16 22:03:52 -05:00
600da0a25c ✏️ Fix internal link in docs/tutorial/create-db-and-table.md (#911) 2024-06-20 21:16:56 -05:00
8416508d79 ✏️ Add missing step in create-db-and-table-with-db-browser.md (#976) 2024-06-05 01:52:36 +00:00
1263024be5 ✏️ Fix typo in docs/tutorial (#943) 2024-06-04 19:00:14 -05:00
24e76c7a13 ✏️ Fix typo in docs/tutorial/relationship-attributes/index.md (#880) 2024-06-04 18:58:27 -05:00
f6ad19b1a7 ✏️ Update pip installation command in tutorial (#975) 2024-06-04 23:48:02 +00:00
1eb40b1f33 📝 Update ModelRead to ModelPublic documentation and examples (#885)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2024-04-08 18:07:48 -05:00
9141c8a920 Add source examples for Python 3.10 and 3.9 with updated syntax (#842)
Co-authored-by: Esteban Maya Cadavid <emayacadavid9@gmail.com>
2024-03-21 17:49:38 -05:00
fa12c5d87b Add new method sqlmodel_update() to update models in place, including an update parameter for extra data (#804) 2024-02-17 14:49:39 +01:00
fa2f178b8a Add support for Pydantic v2 (while keeping support for v1 if v2 is not available), including initial work by AntonDeMeester (#722)
Co-authored-by: Mohamed Farahat <farahats9@yahoo.com>
Co-authored-by: Stefan Borer <stefan.borer@gmail.com>
Co-authored-by: Peter Landry <peter.landry@gmail.com>
Co-authored-by: Anton De Meester <antondemeester+github@gmail.com>
2023-12-04 15:42:39 +01:00
5c0fca1d96 ✏️ Fix typo, simplify single quote/apostrophe character in "Sister Margaret's" everywhere in the docs (#721) 2023-12-04 13:13:03 +01:00
799d0aa7a6 📝 Update details syntax with new pymdown extensions format (#713) 2023-11-28 23:12:33 +01:00
a95bd3873d 🔧 Update config with new pymdown extensions (#712)
* 🔧 Update config with new pymdown extensions

* 📝 Update admonition blocks syntax

* 📝 Update syntax for tabs with new pymdown extensions
2023-11-28 21:50:33 +01:00
47bcd9df8d ⬆️ Add support for Python 3.11 and Python 3.12 (#710) 2023-11-26 15:20:01 +01:00
80fd7e03cf 📝 Clarify description of in-memory SQLite database in docs/tutorial/create-db-and-table.md (#601)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-10-23 20:46:05 +00:00
9d3ca01dd0 📝 Tweak wording in docs/tutorial/fastapi/multiple-models.md (#674)
Co-authored-by: Luis Benitez <lbenitez000@gmail.com>
2023-10-23 20:37:07 +00:00
403d44ea78 📝 Update docs, use offset in example with limit and where (#273)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-10-23 20:55:53 +04:00
d192142eb9 📝 Fix docs for Pydantic's fields using le (lte is invalid, use le ) (#207)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-10-23 16:28:51 +00:00
56f43904c1 🎨 Update docs format and references with pre-commit and Ruff (#667) 2023-10-23 08:11:36 +00:00
27a81b2112 🎨 Run pre-commit on all files and autoformat (#666) 2023-10-23 11:46:31 +04:00
1568bad01e ✏️ Fix typos found with codespell (#520)
Found via `codespell -S *.svg,*.css,*.js,*.drawio -L pullrequest,sesion`
2023-10-22 16:50:44 +04:00
bdcf11bca6 📝 Update instructions about how to make a foreign key required in docs/tutorial/relationship-attributes/define-relationships-attributes.md (#474)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-10-22 16:03:51 +04:00
02bd7ebffd 🗑️ Deprecate Python 3.6 and upgrade Poetry and Poetry Version Plugin (#627) 2023-07-29 12:32:47 +02:00
209791734c ✏️ Fix typo in docs/tutorial/create-db-and-table.md (#477)
typo fixed in docs/tutorial/create-db-and-table.md

Co-authored-by: Santhosh Solomon <santhoshsolomon@Santhoshs-MacBook-Air.local>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-11-08 15:04:06 +00:00
22faa192b9 ✏️ Fix small typos in docs (#481)
Fix small typos

Fixing small typos here and there while reading the document.

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-11-07 14:21:23 +00:00
e88b5d3691 📝 Adjust and clarify docs for docs/tutorial/create-db-and-table.md (#426) 2022-08-30 16:35:29 +00:00
4143edd251 ✏ Fix typo in docs/tutorial/connect/remove-data-connections.md (#421) 2022-08-29 10:33:41 +02:00
a2cda8377f 📝 Update docs for models for updating, id should not be updatable (#335)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-28 01:43:42 +02:00
e48fb2874b 🎨 Remove unwanted highlight in the docs (#233)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:55:15 +02:00
91d0785b1c ✏ Fix typos in docs/databases.md and docs/tutorial/index.md (#35)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:36:58 +02:00
0aaf39d539 ✏ Fix typo in docs/tutorial/relationship-attributes/define-relationships-attributes.md (#239)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:31:38 +02:00