Commit Graph

42 Commits

Author SHA1 Message Date
Sebastián Ramírez
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
Sebastián Ramírez
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
Sebastián Ramírez
799d0aa7a6 📝 Update details syntax with new pymdown extensions format (#713) 2023-11-28 23:12:33 +01:00
Sebastián Ramírez
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
Sebastián Ramírez
47bcd9df8d ⬆️ Add support for Python 3.11 and Python 3.12 (#710) 2023-11-26 15:20:01 +01:00
Simon Weiß
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
Sebastián Ramírez
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
Jon Michaelchuck
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
Jerry Wu
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
Sebastián Ramírez
56f43904c1 🎨 Update docs format and references with pre-commit and Ruff (#667) 2023-10-23 08:11:36 +00:00
Sebastián Ramírez
27a81b2112 🎨 Run pre-commit on all files and autoformat (#666) 2023-10-23 11:46:31 +04:00
Kian-Meng Ang
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
Jorge Alvarado
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
Sebastián Ramírez
02bd7ebffd 🗑️ Deprecate Python 3.6 and upgrade Poetry and Poetry Version Plugin (#627) 2023-07-29 12:32:47 +02:00
Santhosh Solomon
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
Michael Cuffaro
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
Sebastián Ramírez
e88b5d3691 📝 Adjust and clarify docs for docs/tutorial/create-db-and-table.md (#426) 2022-08-30 16:35:29 +00:00
Theodore Williams
4143edd251 ✏ Fix typo in docs/tutorial/connect/remove-data-connections.md (#421) 2022-08-29 10:33:41 +02:00
kurtportelli
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
Jorge Alvarado
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
Prashanth Rao
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
Jorge Alvarado
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
VictorGambarini
ad0766fe3e ✏ Fix typos in multiple files in the docs (#400)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:22:59 +02:00
Marcio Mazza
a993c2141d ✏ Fix typo in docs/tutorial/code-structure.md (#344)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:08:20 +02:00
Jack Homan
4de5a41720 ✏ Fix typo in docs/tutorial/fastapi/tests.md (#265)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:04:38 +02:00
Jorge Alvarado
e5fdc371f6 ✏ Fix typo in docs/tutorial/where.md (#286)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:00:53 +02:00
cirrusj
452f18d8bc ✏ Fix typos in docs/tutorial/fastapi/update.md (#268)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 23:00:09 +02:00
Hao Wang
426da7c443 ✏ Fix typo in docs/tutorial/fastapi/simple-hero-api.md (#247)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:55:27 +00:00
Gal Bracha
015f7acbc5 ✏ Fix typos in docs/tutorial/automatic-id-none-refresh.md, docs/tutorial/fastapi/update.md, docs/tutorial/select.md (#185)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:53:34 +00:00
wmcgee3
aa5803fbbb ✏ Fix typos in docs/tutorial/fastapi/update.md (#162)
Co-authored-by: pwildenhain <35195136+pwildenhain@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:51:46 +00:00
Måns Magnusson
6f1ffccd4f ✏ Fix typos in docs/tutorial/code-structure.md, docs/tutorial/fastapi/multiple-models.md, docs/tutorial/fastapi/simple-hero-api.md, docs/tutorial/many-to-many/index.md (#116)
Co-authored-by: moonso <mans.magnusson@scilifelab.se>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:50:33 +00:00
Feanil Patel
63dd44dc86 ✏ Fix typo in docs/tutorial/fastapi/tests.md (#113)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:33:41 +00:00
Dhiraj Gupta
5dff4d15e8 ✏ Fix typo in docs/tutorial/code-structure.md (#91)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:32:02 +00:00
xginn8
0197c6e211 ✏ Fix typos in docs/tutorial/many-to-many/create-models-with-link.md (#45)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 20:14:23 +00:00
Ryan Grose
0049436cd4 ✏ Fix typo in docs/tutorial/index.md (#398)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-08-27 18:36:08 +00:00
Sebastián Ramírez
155c6178cd Document indexes and make them opt-in (#205) 2021-12-28 11:48:03 +01:00
Yaqueline Hoyos
410d7af6b6 ✏ Fix typo in FastAPI tutorial (#192) 2021-12-14 19:25:06 +01:00
Alexandre Batisse
dc3acda4ed ✏ Fix typos in docs titles (#28) 2021-12-14 18:20:54 +01:00
Evan Grim
2013c69c4d ✏ Fix multiple typos and some rewording (#22)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-12-14 18:17:10 +01:00
Leynier Gutiérrez González
50e62cdcd9 ✏ Fix typo in docs/tutorial/automatic-id-none-refresh.md (#14) 2021-12-14 18:11:39 +01:00
Sebastian Marines
32b5b39f2d ✏ Fix typos in docs/tutorial/index.md and docs/databases.md (#5)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-12-14 17:58:40 +01:00
Sebastián Ramírez
6d1d86ab85 📝 Add docs 2021-08-24 15:02:48 +02:00