From: Alejandra <90076947+alejsdev@users.noreply.github.com>
Date: Fri, 22 Mar 2024 01:42:11 +0000 (-0500)
Subject: 📝 Update links to Pydantic docs to point to new website (#11328)
X-Git-Tag: 0.110.1~291
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93034fea48a85d5e7ac336b8ec455d2e26f0e364;p=thirdparty%2Ffastapi%2Ffastapi.git
📝 Update links to Pydantic docs to point to new website (#11328)
---
diff --git a/README.md b/README.md
index a60d8775c6..0c05687ce5 100644
--- a/README.md
+++ b/README.md
@@ -126,7 +126,7 @@ Python 3.8+
FastAPI stands on the shoulders of giants:
* Starlette for the web parts.
-* Pydantic for the data parts.
+* Pydantic for the data parts.
## Installation
diff --git a/docs/az/docs/index.md b/docs/az/docs/index.md
index fb82bea1ba..33bcc15568 100644
--- a/docs/az/docs/index.md
+++ b/docs/az/docs/index.md
@@ -120,7 +120,7 @@ Python 3.8+
FastAPI nÉhÉnglÉrin çiyinlÉrindÉ dayanır:
* Web tÉrÉfi üçün Starlette.
-* Data tÉrÉfi üçün Pydantic.
+* Data tÉrÉfi üçün Pydantic.
## QuraÅdırma
diff --git a/docs/bn/docs/index.md b/docs/bn/docs/index.md
index 28ef5d6d10..688f3f95ac 100644
--- a/docs/bn/docs/index.md
+++ b/docs/bn/docs/index.md
@@ -112,7 +112,7 @@ Python 3.7+
FastAPI à¦à¦¿à¦à§ দানবà§à¦¦à§à¦° à¦à¦¾à¦à¦§à§ দাà¦à¦¡à¦¼à¦¿à¦¯à¦¼à§ à¦à¦à§:
- Starlette à¦à¦¯à¦¼à§à¦¬ à¦
à¦à¦¶à§à¦° à¦à¦¨à§à¦¯.
-- Pydantic ডà§à¦à¦¾ à¦
à¦à¦¶à¦à§à¦²à¦¿à¦° à¦à¦¨à§à¦¯.
+- Pydantic ডà§à¦à¦¾ à¦
à¦à¦¶à¦à§à¦²à¦¿à¦° à¦à¦¨à§à¦¯.
## à¦à¦¨à¦¸à§à¦à¦²à§à¦¶à¦¨ পà§à¦°à¦à§à¦°à¦¿à§à¦¾
diff --git a/docs/de/docs/features.md b/docs/de/docs/features.md
index 7b0e0587cb..fee4b158ed 100644
--- a/docs/de/docs/features.md
+++ b/docs/de/docs/features.md
@@ -177,7 +177,7 @@ Mit **FastAPI** bekommen Sie viele von **Starlette**'s Funktionen (da FastAPI nu
## Pydantic's Merkmale
-**FastAPI** ist vollkommen kompatibel (und basiert auf) Pydantic. Das bedeutet, auch jeder zusätzliche Pydantic Quellcode funktioniert.
+**FastAPI** ist vollkommen kompatibel (und basiert auf) Pydantic. Das bedeutet, auch jeder zusätzliche Pydantic Quellcode funktioniert.
Verfügbar sind ebenso externe auf Pydantic basierende Bibliotheken, wie ORMs, ODMs für Datenbanken.
diff --git a/docs/de/docs/tutorial/body-nested-models.md b/docs/de/docs/tutorial/body-nested-models.md
index 976f3f924e..a7a15a6c24 100644
--- a/docs/de/docs/tutorial/body-nested-models.md
+++ b/docs/de/docs/tutorial/body-nested-models.md
@@ -192,7 +192,7 @@ Wiederum, nur mit dieser Deklaration erhalten Sie von **FastAPI**:
Abgesehen von normalen einfachen Typen, wie `str`, `int`, `float`, usw. können Sie komplexere einfache Typen verwenden, die von `str` erben.
-Um alle Optionen kennenzulernen, die Sie haben, schauen Sie sich Pydantics Typübersicht an. Sie werden im nächsten Kapitel ein paar Beispiele kennenlernen.
+Um alle Optionen kennenzulernen, die Sie haben, schauen Sie sich Pydantics Typübersicht an. Sie werden im nächsten Kapitel ein paar Beispiele kennenlernen.
Da wir zum Beispiel im `Image`-Modell ein Feld `url` haben, können wir deklarieren, dass das eine Instanz von Pydantics `HttpUrl` sein soll, anstelle eines `str`:
diff --git a/docs/de/docs/tutorial/body.md b/docs/de/docs/tutorial/body.md
index 97215a780a..6611cb51a8 100644
--- a/docs/de/docs/tutorial/body.md
+++ b/docs/de/docs/tutorial/body.md
@@ -6,7 +6,7 @@ Ein **Request**body sind Daten, die vom Client zu Ihrer API gesendet werden. Ein
Ihre API sendet fast immer einen **Response**body. Aber Clients senden nicht unbedingt immer **Request**bodys (sondern nur Metadaten).
-Um einen **Request**body zu deklarieren, verwenden Sie Pydantic-Modelle mit allen deren Fähigkeiten und Vorzügen.
+Um einen **Request**body zu deklarieren, verwenden Sie Pydantic-Modelle mit allen deren Fähigkeiten und Vorzügen.
!!! info
Um Daten zu versenden, sollten Sie eines von: `POST` (meistverwendet), `PUT`, `DELETE` oder `PATCH` verwenden.
diff --git a/docs/em/docs/advanced/dataclasses.md b/docs/em/docs/advanced/dataclasses.md
index a4c2871062..e8c4b99a23 100644
--- a/docs/em/docs/advanced/dataclasses.md
+++ b/docs/em/docs/advanced/dataclasses.md
@@ -8,7 +8,7 @@ FastAPI ð ð ð **Pydantic**, & ð¤ âï¸ ð ð â âï¸ Pyda
{!../../../docs_src/dataclasses/tutorial001.py!}
```
-ð ðâ𦺠ð **Pydantic**, â«ï¸ âï¸ ð ðâ𦺠`dataclasses`.
+ð ðâ𦺠ð **Pydantic**, â«ï¸ âï¸ ð ðâ𦺠`dataclasses`.
, â®ï¸ ð ð ð ð« âï¸ Pydantic ð¯, FastAPI âï¸ Pydantic ð ð ð© ð» Pydantic ð ð ð».
@@ -91,7 +91,7 @@ FastAPI ð ð ð **Pydantic**, & ð¤ âï¸ ð ð â âï¸ Pyda
ð ðª ð `dataclasses` â®ï¸ ð Pydantic ð·, ð âªï¸â¡ï¸ ð«, ð ð« ð ð ð·, âï¸.
-ð¡ ð
, â
Pydantic 𩺠ð ð».
+ð¡ ð
, â
Pydantic 𩺠ð ð».
## â¬
diff --git a/docs/em/docs/advanced/openapi-callbacks.md b/docs/em/docs/advanced/openapi-callbacks.md
index 630b75ed29..3355d6071b 100644
--- a/docs/em/docs/advanced/openapi-callbacks.md
+++ b/docs/em/docs/advanced/openapi-callbacks.md
@@ -36,7 +36,7 @@
```
!!! tip
- `callback_url` ð¢ ð¢ âï¸ Pydantic ð ð.
+ `callback_url` ð¢ ð¢ âï¸ Pydantic ð ð.
ð´ ð ð `callbacks=messages_callback_router.routes` â *â¡ ð ï¸ ð¨âð¨*. ð¥ ð ð â«ï¸â ð â.
diff --git a/docs/em/docs/advanced/settings.md b/docs/em/docs/advanced/settings.md
index 2ebe8ffcbe..c172120235 100644
--- a/docs/em/docs/advanced/settings.md
+++ b/docs/em/docs/advanced/settings.md
@@ -125,7 +125,7 @@ Hello World from Python
## Pydantic `Settings`
-ð, Pydantic ð ð ð ðµ ð« â ð âªï¸â¡ï¸ ð ð¢ â®ï¸ Pydantic: â ð§¾.
+ð, Pydantic ð ð ð ðµ ð« â ð âªï¸â¡ï¸ ð ð¢ â®ï¸ Pydantic: â ð§¾.
### â `Settings` ð
@@ -279,7 +279,7 @@ APP_NAME="ChimichangApp"
ð¥ ð¥ â ð `Config` ð ð Pydantic `Settings` ð, & â `env_file` ð â®ï¸ ð¨ð» ð ð¥ ð âï¸.
!!! tip
- `Config` ð âï¸ Pydantic ð³. ð ðª â ð Pydantic ð· ð
+ `Config` ð âï¸ Pydantic ð³. ð ðª â ð Pydantic ð· ð
### ð `Settings` ð´ ð â®ï¸ `lru_cache`
diff --git a/docs/em/docs/alternatives.md b/docs/em/docs/alternatives.md
index 6169aa52d7..5890b3b136 100644
--- a/docs/em/docs/alternatives.md
+++ b/docs/em/docs/alternatives.md
@@ -342,7 +342,7 @@ Webarg ð§° ð â ð ð ð ð ð ð ï¸, ð ðº.
## âï¸ **FastAPI**
-### Pydantic
+### Pydantic
Pydantic ð ð¬ ð½ ð¬, ð ï¸ & ð§¾ (âï¸ ð» ð) âï¸ ð ð ð ð.
diff --git a/docs/em/docs/features.md b/docs/em/docs/features.md
index be787d85b0..3693f4c54d 100644
--- a/docs/em/docs/features.md
+++ b/docs/em/docs/features.md
@@ -174,7 +174,7 @@ FastAPI ð ð¶ â© âï¸, âï¸ ð¶ ðï¸ Pydantic docs about dataclasses.
+To learn more, check the Pydantic docs about dataclasses.
## Version
diff --git a/docs/en/docs/advanced/openapi-callbacks.md b/docs/en/docs/advanced/openapi-callbacks.md
index 03429b187f..fb7a6d917d 100644
--- a/docs/en/docs/advanced/openapi-callbacks.md
+++ b/docs/en/docs/advanced/openapi-callbacks.md
@@ -36,7 +36,7 @@ This part is pretty normal, most of the code is probably already familiar to you
```
!!! tip
- The `callback_url` query parameter uses a Pydantic URL type.
+ The `callback_url` query parameter uses a Pydantic URL type.
The only new thing is the `callbacks=invoices_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next.
diff --git a/docs/en/docs/alternatives.md b/docs/en/docs/alternatives.md
index 70bbcac91c..d351c4e0b7 100644
--- a/docs/en/docs/alternatives.md
+++ b/docs/en/docs/alternatives.md
@@ -342,7 +342,7 @@ Now APIStar is a set of tools to validate OpenAPI specifications, not a web fram
## Used by **FastAPI**
-### Pydantic
+### Pydantic
Pydantic is a library to define data validation, serialization and documentation (using JSON Schema) based on Python type hints.
diff --git a/docs/en/docs/features.md b/docs/en/docs/features.md
index 6f13b03bb9..6f0e74b3d1 100644
--- a/docs/en/docs/features.md
+++ b/docs/en/docs/features.md
@@ -179,7 +179,7 @@ With **FastAPI** you get all of **Starlette**'s features (as FastAPI is just Sta
## Pydantic features
-**FastAPI** is fully compatible with (and based on) Pydantic. So, any additional Pydantic code you have, will also work.
+**FastAPI** is fully compatible with (and based on) Pydantic. So, any additional Pydantic code you have, will also work.
Including external libraries also based on Pydantic, as ORMs, ODMs for databases.
diff --git a/docs/en/docs/history-design-future.md b/docs/en/docs/history-design-future.md
index 9db1027c26..7824fb080f 100644
--- a/docs/en/docs/history-design-future.md
+++ b/docs/en/docs/history-design-future.md
@@ -54,7 +54,7 @@ All in a way that provided the best development experience for all the developer
## Requirements
-After testing several alternatives, I decided that I was going to use **Pydantic** for its advantages.
+After testing several alternatives, I decided that I was going to use **Pydantic** for its advantages.
Then I contributed to it, to make it fully compliant with JSON Schema, to support different ways to define constraint declarations, and to improve editor support (type checks, autocompletion) based on the tests in several editors.
diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md
index 10430f723e..86b0c699b7 100644
--- a/docs/en/docs/index.md
+++ b/docs/en/docs/index.md
@@ -129,7 +129,7 @@ Python 3.8+
FastAPI stands on the shoulders of giants:
* Starlette for the web parts.
-* Pydantic for the data parts.
+* Pydantic for the data parts.
## Installation
diff --git a/docs/en/docs/python-types.md b/docs/en/docs/python-types.md
index cdd22ea4a2..51db744ff5 100644
--- a/docs/en/docs/python-types.md
+++ b/docs/en/docs/python-types.md
@@ -434,7 +434,7 @@ It doesn't mean "`one_person` is the **class** called `Person`".
## Pydantic models
-Pydantic is a Python library to perform data validation.
+Pydantic is a Python library to perform data validation.
You declare the "shape" of the data as classes with attributes.
@@ -465,14 +465,14 @@ An example from the official Pydantic docs:
```
!!! info
- To learn more about Pydantic, check its docs.
+ To learn more about Pydantic, check its docs.
**FastAPI** is all based on Pydantic.
You will see a lot more of all this in practice in the [Tutorial - User Guide](tutorial/index.md){.internal-link target=_blank}.
!!! tip
- Pydantic has a special behavior when you use `Optional` or `Union[Something, None]` without a default value, you can read more about it in the Pydantic docs about Required Optional fields.
+ Pydantic has a special behavior when you use `Optional` or `Union[Something, None]` without a default value, you can read more about it in the Pydantic docs about Required Optional fields.
## Type Hints with Metadata Annotations
diff --git a/docs/en/docs/release-notes.md b/docs/en/docs/release-notes.md
index 99d36bae91..279356f24e 100644
--- a/docs/en/docs/release-notes.md
+++ b/docs/en/docs/release-notes.md
@@ -3486,7 +3486,7 @@ Note: all the previous parameters are still there, so it's still possible to dec
* Upgrade Pydantic supported version to `0.29.0`.
* New supported version range is `"pydantic >=0.28,<=0.29.0"`.
- * This adds support for Pydantic [Generic Models](https://pydantic-docs.helpmanual.io/#generic-models), kudos to [@dmontagu](https://github.com/dmontagu).
+ * This adds support for Pydantic [Generic Models](https://docs.pydantic.dev/latest/#generic-models), kudos to [@dmontagu](https://github.com/dmontagu).
* PR [#344](https://github.com/tiangolo/fastapi/pull/344).
## 0.30.1
diff --git a/docs/en/docs/tutorial/body-nested-models.md b/docs/en/docs/tutorial/body-nested-models.md
index 7058d4ad04..4c199f0283 100644
--- a/docs/en/docs/tutorial/body-nested-models.md
+++ b/docs/en/docs/tutorial/body-nested-models.md
@@ -192,7 +192,7 @@ Again, doing just that declaration, with **FastAPI** you get:
Apart from normal singular types like `str`, `int`, `float`, etc. you can use more complex singular types that inherit from `str`.
-To see all the options you have, checkout the docs for Pydantic's exotic types. You will see some examples in the next chapter.
+To see all the options you have, checkout the docs for Pydantic's exotic types. You will see some examples in the next chapter.
For example, as in the `Image` model we have a `url` field, we can declare it to be an instance of Pydantic's `HttpUrl` instead of a `str`:
diff --git a/docs/en/docs/tutorial/body.md b/docs/en/docs/tutorial/body.md
index 67ba48f1e6..f9af42938c 100644
--- a/docs/en/docs/tutorial/body.md
+++ b/docs/en/docs/tutorial/body.md
@@ -6,7 +6,7 @@ A **request** body is data sent by the client to your API. A **response** body i
Your API almost always has to send a **response** body. But clients don't necessarily need to send **request** bodies all the time.
-To declare a **request** body, you use Pydantic models with all their power and benefits.
+To declare a **request** body, you use Pydantic models with all their power and benefits.
!!! info
To send data, you should use one of: `POST` (the more common), `PUT`, `DELETE` or `PATCH`.
diff --git a/docs/en/docs/tutorial/extra-data-types.md b/docs/en/docs/tutorial/extra-data-types.md
index fd7a99af32..e705a18e43 100644
--- a/docs/en/docs/tutorial/extra-data-types.md
+++ b/docs/en/docs/tutorial/extra-data-types.md
@@ -36,7 +36,7 @@ Here are some of the additional data types you can use:
* `datetime.timedelta`:
* A Python `datetime.timedelta`.
* In requests and responses will be represented as a `float` of total seconds.
- * Pydantic also allows representing it as a "ISO 8601 time diff encoding", see the docs for more info.
+ * Pydantic also allows representing it as a "ISO 8601 time diff encoding", see the docs for more info.
* `frozenset`:
* In requests and responses, treated the same as a `set`:
* In requests, a list will be read, eliminating duplicates and converting it to a `set`.
diff --git a/docs/en/docs/tutorial/extra-models.md b/docs/en/docs/tutorial/extra-models.md
index ad253a3365..49b00c7305 100644
--- a/docs/en/docs/tutorial/extra-models.md
+++ b/docs/en/docs/tutorial/extra-models.md
@@ -184,7 +184,7 @@ It will be defined in OpenAPI with `anyOf`.
To do that, use the standard Python type hint `typing.Union`:
!!! note
- When defining a `Union`, include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `Union[PlaneItem, CarItem]`.
+ When defining a `Union`, include the most specific type first, followed by the less specific type. In the example below, the more specific `PlaneItem` comes before `CarItem` in `Union[PlaneItem, CarItem]`.
=== "Python 3.10+"
diff --git a/docs/en/docs/tutorial/handling-errors.md b/docs/en/docs/tutorial/handling-errors.md
index 7d521696d8..98ac55d1f7 100644
--- a/docs/en/docs/tutorial/handling-errors.md
+++ b/docs/en/docs/tutorial/handling-errors.md
@@ -163,7 +163,7 @@ path -> item_id
!!! warning
These are technical details that you might skip if it's not important for you now.
-`RequestValidationError` is a sub-class of Pydantic's `ValidationError`.
+`RequestValidationError` is a sub-class of Pydantic's `ValidationError`.
**FastAPI** uses it so that, if you use a Pydantic model in `response_model`, and your data has an error, you will see the error in your log.
diff --git a/docs/en/docs/tutorial/path-params.md b/docs/en/docs/tutorial/path-params.md
index 847b563342..6246d6680b 100644
--- a/docs/en/docs/tutorial/path-params.md
+++ b/docs/en/docs/tutorial/path-params.md
@@ -95,7 +95,7 @@ The same way, there are many compatible tools. Including code generation tools f
## Pydantic
-All the data validation is performed under the hood by Pydantic, so you get all the benefits from it. And you know you are in good hands.
+All the data validation is performed under the hood by Pydantic, so you get all the benefits from it. And you know you are in good hands.
You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.
diff --git a/docs/en/docs/tutorial/query-params-str-validations.md b/docs/en/docs/tutorial/query-params-str-validations.md
index 7a9bc48754..24784efadd 100644
--- a/docs/en/docs/tutorial/query-params-str-validations.md
+++ b/docs/en/docs/tutorial/query-params-str-validations.md
@@ -500,7 +500,7 @@ To do that, you can declare that `None` is a valid type but still use `...` as t
```
!!! tip
- Pydantic, which is what powers all the data validation and serialization in FastAPI, has a special behavior when you use `Optional` or `Union[Something, None]` without a default value, you can read more about it in the Pydantic docs about Required Optional fields.
+ Pydantic, which is what powers all the data validation and serialization in FastAPI, has a special behavior when you use `Optional` or `Union[Something, None]` without a default value, you can read more about it in the Pydantic docs about Required Optional fields.
!!! tip
Remember that in most of the cases, when something is required, you can simply omit the default, so you normally don't have to use `...`.
diff --git a/docs/en/docs/tutorial/response-model.md b/docs/en/docs/tutorial/response-model.md
index d5683ac7f2..0e6292629a 100644
--- a/docs/en/docs/tutorial/response-model.md
+++ b/docs/en/docs/tutorial/response-model.md
@@ -383,7 +383,7 @@ So, if you send a request to that *path operation* for the item with ID `foo`, t
The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
!!! info
- FastAPI uses Pydantic model's `.dict()` with its `exclude_unset` parameter to achieve this.
+ FastAPI uses Pydantic model's `.dict()` with its `exclude_unset` parameter to achieve this.
!!! info
You can also use:
@@ -391,7 +391,7 @@ So, if you send a request to that *path operation* for the item with ID `foo`, t
* `response_model_exclude_defaults=True`
* `response_model_exclude_none=True`
- as described in the Pydantic docs for `exclude_defaults` and `exclude_none`.
+ as described in the Pydantic docs for `exclude_defaults` and `exclude_none`.
#### Data with values for fields with defaults
diff --git a/docs/en/docs/tutorial/sql-databases.md b/docs/en/docs/tutorial/sql-databases.md
index 70d9482df2..1a2000f02b 100644
--- a/docs/en/docs/tutorial/sql-databases.md
+++ b/docs/en/docs/tutorial/sql-databases.md
@@ -338,7 +338,7 @@ Not only the IDs of those items, but all the data that we defined in the Pydanti
Now, in the Pydantic *models* for reading, `Item` and `User`, add an internal `Config` class.
-This `Config` class is used to provide configurations to Pydantic.
+This `Config` class is used to provide configurations to Pydantic.
In the `Config` class, set the attribute `orm_mode = True`.
diff --git a/docs/es/docs/features.md b/docs/es/docs/features.md
index 1496628d1a..7623d8eb18 100644
--- a/docs/es/docs/features.md
+++ b/docs/es/docs/features.md
@@ -179,7 +179,7 @@ Con **FastAPI** obtienes todas las caracterÃsticas de **Starlette** (porque Fas
## CaracterÃsticas de Pydantic
-**FastAPI** está basado y es completamente compatible con Pydantic. Tanto asÃ, que cualquier código de Pydantic que tengas también funcionará.
+**FastAPI** está basado y es completamente compatible con Pydantic. Tanto asÃ, que cualquier código de Pydantic que tengas también funcionará.
Esto incluye a librerÃas externas basadas en Pydantic como ORMs y ODMs para bases de datos.
diff --git a/docs/es/docs/index.md b/docs/es/docs/index.md
index 28b7f4d1b5..b3d9c8bf22 100644
--- a/docs/es/docs/index.md
+++ b/docs/es/docs/index.md
@@ -111,7 +111,7 @@ Python 3.8+
FastAPI está sobre los hombros de gigantes:
* Starlette para las partes web.
-* Pydantic para las partes de datos.
+* Pydantic para las partes de datos.
## Instalación
diff --git a/docs/es/docs/python-types.md b/docs/es/docs/python-types.md
index b83cbe3f54..89edbb31e7 100644
--- a/docs/es/docs/python-types.md
+++ b/docs/es/docs/python-types.md
@@ -237,7 +237,7 @@ Una vez más tendrás todo el soporte del editor:
## Modelos de Pydantic
-Pydantic es una library de Python para llevar a cabo validación de datos.
+Pydantic es una library de Python para llevar a cabo validación de datos.
Tú declaras la "forma" de los datos mediante clases con atributos.
@@ -254,7 +254,7 @@ Tomado de la documentación oficial de Pydantic:
```
!!! info "Información"
- Para aprender más sobre Pydantic mira su documentación.
+ Para aprender más sobre Pydantic mira su documentación.
**FastAPI** está todo basado en Pydantic.
diff --git a/docs/es/docs/tutorial/path-params.md b/docs/es/docs/tutorial/path-params.md
index 765ae4140b..7faa92f51c 100644
--- a/docs/es/docs/tutorial/path-params.md
+++ b/docs/es/docs/tutorial/path-params.md
@@ -93,7 +93,7 @@ De la misma manera hay muchas herramientas compatibles. Incluyendo herramientas
## Pydantic
-Toda la validación de datos es realizada tras bastidores por Pydantic, asà que obtienes todos sus beneficios. Asà sabes que estás en buenas manos.
+Toda la validación de datos es realizada tras bastidores por Pydantic, asà que obtienes todos sus beneficios. Asà sabes que estás en buenas manos.
Puedes usar las mismas declaraciones de tipos con `str`, `float`, `bool` y otros tipos de datos más complejos.
diff --git a/docs/fa/docs/features.md b/docs/fa/docs/features.md
index 3040ce3dd9..58c34b7fcc 100644
--- a/docs/fa/docs/features.md
+++ b/docs/fa/docs/features.md
@@ -182,7 +182,7 @@ FastAPI شاÙ
Ù ÛÚ© Ø³ÛØ³ØªÙ
Pydantic. Le code utilisant Pydantic que vous ajouterez fonctionnera donc aussi.
+**FastAPI** est totalement compatible avec (et basé sur) Pydantic. Le code utilisant Pydantic que vous ajouterez fonctionnera donc aussi.
Inclus des librairies externes basées, aussi, sur Pydantic, servent d'ORMs, ODMs pour les bases de données.
diff --git a/docs/fr/docs/history-design-future.md b/docs/fr/docs/history-design-future.md
index b77664be6c..beb649121d 100644
--- a/docs/fr/docs/history-design-future.md
+++ b/docs/fr/docs/history-design-future.md
@@ -54,7 +54,7 @@ Le tout de manière à offrir la meilleure expérience de développement à tous
## Exigences
-Après avoir testé plusieurs alternatives, j'ai décidé que j'allais utiliser **Pydantic** pour ses avantages.
+Après avoir testé plusieurs alternatives, j'ai décidé que j'allais utiliser **Pydantic** pour ses avantages.
J'y ai ensuite contribué, pour le rendre entièrement compatible avec JSON Schema, pour supporter différentes manières de définir les déclarations de contraintes, et pour améliorer le support des éditeurs (vérifications de type, autocomplétion) sur la base des tests effectués dans plusieurs éditeurs.
diff --git a/docs/fr/docs/index.md b/docs/fr/docs/index.md
index 3a757409fd..bc3ae3c063 100644
--- a/docs/fr/docs/index.md
+++ b/docs/fr/docs/index.md
@@ -120,7 +120,7 @@ Python 3.8+
FastAPI repose sur les épaules de géants :
* Starlette pour les parties web.
-* Pydantic pour les parties données.
+* Pydantic pour les parties données.
## Installation
diff --git a/docs/fr/docs/python-types.md b/docs/fr/docs/python-types.md
index f49fbafd36..4232633e3d 100644
--- a/docs/fr/docs/python-types.md
+++ b/docs/fr/docs/python-types.md
@@ -265,7 +265,7 @@ Et vous aurez accès, encore une fois, au support complet offert par l'éditeur
## Les modèles Pydantic
-Pydantic est une bibliothèque Python pour effectuer de la validation de données.
+Pydantic est une bibliothèque Python pour effectuer de la validation de données.
Vous déclarez la forme de la donnée avec des classes et des attributs.
@@ -282,7 +282,7 @@ Extrait de la documentation officielle de **Pydantic** :
```
!!! info
- Pour en savoir plus à propos de Pydantic, allez jeter un coup d'oeil à sa documentation.
+ Pour en savoir plus à propos de Pydantic, allez jeter un coup d'oeil à sa documentation.
**FastAPI** est basé entièrement sur **Pydantic**.
diff --git a/docs/fr/docs/tutorial/body.md b/docs/fr/docs/tutorial/body.md
index 89720c973a..ae952405cb 100644
--- a/docs/fr/docs/tutorial/body.md
+++ b/docs/fr/docs/tutorial/body.md
@@ -6,7 +6,7 @@ Le corps d'une **requête** est de la donnée envoyée par le client à votre AP
Votre API aura presque toujours à envoyer un corps de **réponse**. Mais un client n'a pas toujours à envoyer un corps de **requête**.
-Pour déclarer un corps de **requête**, on utilise les modèles de Pydantic en profitant de tous leurs avantages et fonctionnalités.
+Pour déclarer un corps de **requête**, on utilise les modèles de Pydantic en profitant de tous leurs avantages et fonctionnalités.
!!! info
Pour envoyer de la donnée, vous devriez utiliser : `POST` (le plus populaire), `PUT`, `DELETE` ou `PATCH`.
diff --git a/docs/fr/docs/tutorial/path-params.md b/docs/fr/docs/tutorial/path-params.md
index 894d62dd46..817545c1c6 100644
--- a/docs/fr/docs/tutorial/path-params.md
+++ b/docs/fr/docs/tutorial/path-params.md
@@ -106,7 +106,7 @@ pour de nombreux langages.
## Pydantic
-Toute la validation de données est effectué en arrière-plan avec Pydantic,
+Toute la validation de données est effectué en arrière-plan avec Pydantic,
dont vous bénéficierez de tous les avantages. Vous savez donc que vous êtes entre de bonnes mains.
## L'ordre importe
diff --git a/docs/he/docs/index.md b/docs/he/docs/index.md
index e404baa590..335a227436 100644
--- a/docs/he/docs/index.md
+++ b/docs/he/docs/index.md
@@ -115,7 +115,7 @@ FastAPI ××× ×ª×©×ª×ת רשת ××××¨× ×ת ×××××¨× (××צ××¢×× ×
FastAPI ×¢×××ת ×¢× ××ª×¤× ×¢× ×§××ת:
- Starlette ××××§× ×רשת.
-- Pydantic ××××§× ×××××¢.
+- Pydantic ××××§× ×××××¢.
## ××ª×§× ×
diff --git a/docs/hu/docs/index.md b/docs/hu/docs/index.md
index 3bc3724e29..75ea88c4d8 100644
--- a/docs/hu/docs/index.md
+++ b/docs/hu/docs/index.md
@@ -120,7 +120,7 @@ Python 3.8+
A FastAPI óriások vállán áll:
* Starlette a webes részekhez.
-* Pydantic az adat részekhez.
+* Pydantic az adat részekhez.
## TelepÃtés
diff --git a/docs/it/docs/index.md b/docs/it/docs/index.md
index 0b7a896e18..a69008d2b4 100644
--- a/docs/it/docs/index.md
+++ b/docs/it/docs/index.md
@@ -115,7 +115,7 @@ Python 3.6+
FastAPI è basata su importanti librerie:
* Starlette per le parti web.
-* Pydantic per le parti dei dati.
+* Pydantic per le parti dei dati.
## Installazione
diff --git a/docs/ja/docs/alternatives.md b/docs/ja/docs/alternatives.md
index ca6b29a077..ce4b364080 100644
--- a/docs/ja/docs/alternatives.md
+++ b/docs/ja/docs/alternatives.md
@@ -342,7 +342,7 @@ OpenAPIãJSON Schemaã®ãããªæ¨æºã«åºã¥ãããã®ã§ã¯ããã¾ã
## **FastAPI**ãå©ç¨ãã¦ãããã®
-### Pydantic
+### Pydantic
Pydanticã¯ãPythonã®åãã³ããå
ã«ãã¼ã¿ã®ããªãã¼ã·ã§ã³ãã·ãªã¢ã©ã¤ã¼ã¼ã·ã§ã³ã (JSON Schemaã使ç¨ãã) ããã¥ã¡ã³ããå®ç¾©ããã©ã¤ãã©ãªã§ãã
diff --git a/docs/ja/docs/features.md b/docs/ja/docs/features.md
index 854c0764cd..98c59e7c49 100644
--- a/docs/ja/docs/features.md
+++ b/docs/ja/docs/features.md
@@ -177,7 +177,7 @@ FastAPIã«ã¯é常ã«ä½¿ãããããé常ã«å¼·åãªPydanticì 기ë°ì¼ë¡ íë©° Pydanticê³¼ ìë²½íê² í¸íë©ëë¤. ê·¸ëì ì´ë ì¶ê°ì ì¸ Pydantic ì½ë를 ì¬ë¬ë¶ì´ ê°ì§ê³ ìë ìëí ê²ì
ëë¤.
+**FastAPI**ë Pydanticì 기ë°ì¼ë¡ íë©° Pydanticê³¼ ìë²½íê² í¸íë©ëë¤. ê·¸ëì ì´ë ì¶ê°ì ì¸ Pydantic ì½ë를 ì¬ë¬ë¶ì´ ê°ì§ê³ ìë ìëí ê²ì
ëë¤.
Pydanticì 기ë°ì¼ë¡ íë, ë°ì´í°ë² ì´ì¤ë¥¼ ìí ORM, ODMì í¬í¨í ì¸ë¶ ë¼ì´ë¸ë¬ë¦¬ë¥¼ í¬í¨í©ëë¤.
diff --git a/docs/ko/docs/index.md b/docs/ko/docs/index.md
index 09f368ce96..eeadc0363c 100644
--- a/docs/ko/docs/index.md
+++ b/docs/ko/docs/index.md
@@ -112,7 +112,7 @@ Python 3.8+
FastAPIë ê±°ì¸ë¤ì ì´ê¹¨ ìì ì ììµëë¤:
* ì¹ ë¶ë¶ì ìí Starlette.
-* ë°ì´í° ë¶ë¶ì ìí Pydantic.
+* ë°ì´í° ë¶ë¶ì ìí Pydantic.
## ì¤ì¹
diff --git a/docs/ko/docs/python-types.md b/docs/ko/docs/python-types.md
index 16b93a7a94..267ce6c7e3 100644
--- a/docs/ko/docs/python-types.md
+++ b/docs/ko/docs/python-types.md
@@ -265,7 +265,7 @@ John Doe
## Pydantic 모ë¸
-Pydanticì ë°ì´í° ê²ì¦(Validation)ì ìí íì´ì¬ ë¼ì´ë¸ë¬ë¦¬ì
ëë¤.
+Pydanticì ë°ì´í° ê²ì¦(Validation)ì ìí íì´ì¬ ë¼ì´ë¸ë¬ë¦¬ì
ëë¤.
ë¹ì ì ìì±ë¤ì í¬í¨í í´ëì¤ ííë¡ "모ì(shape)"ì ì ì¸í ì ììµëë¤.
@@ -282,7 +282,7 @@ Pydantic ê³µì 문ì ìì:
```
!!! info "ì ë³´"
- Pydantic<ì ëí´ ë ë°°ì°ê³ ì¶ë¤ë©´ ê³µì 문ì를 ì°¸ê³ íì¸ì.
+ Pydantic<ì ëí´ ë ë°°ì°ê³ ì¶ë¤ë©´ ê³µì 문ì를 ì°¸ê³ íì¸ì.
**FastAPI**ë 모ë Pydanticì 기ë°ì¼ë¡ ëì´ ììµëë¤.
diff --git a/docs/ko/docs/tutorial/body-nested-models.md b/docs/ko/docs/tutorial/body-nested-models.md
index 7b41aa35b9..edf1a5f77a 100644
--- a/docs/ko/docs/tutorial/body-nested-models.md
+++ b/docs/ko/docs/tutorial/body-nested-models.md
@@ -117,7 +117,7 @@ Pydantic 모ë¸ì ê° ì´í¸ë¦¬ë·°í¸ë íì
ì ê°ìµëë¤.
`str`, `int`, `float` ë±ê³¼ ê°ì ë¨ì¼ íì
ê³¼ë ë³ê°ë¡, `str`ì ììíë ë ë³µì¡í ë¨ì¼ íì
ì ì¬ì©í ì ììµëë¤.
-모ë ìµì
ì ë³´ë ¤ë©´, Pydantic's exotic types 문ì를 íì¸íì¸ì. ë¤ì ì¥ìì ëªê°ì§ ìì 를 ë³¼ ì ììµëë¤.
+모ë ìµì
ì ë³´ë ¤ë©´, Pydantic's exotic types 문ì를 íì¸íì¸ì. ë¤ì ì¥ìì ëªê°ì§ ìì 를 ë³¼ ì ììµëë¤.
ì를 ë¤ì´ `Image` ëª¨ë¸ ìì `url` íë를 `str` ëì Pydanticì `HttpUrl`ë¡ ì ì¸í ì ììµëë¤:
diff --git a/docs/ko/docs/tutorial/body.md b/docs/ko/docs/tutorial/body.md
index 9317285728..8b98284bb2 100644
--- a/docs/ko/docs/tutorial/body.md
+++ b/docs/ko/docs/tutorial/body.md
@@ -6,7 +6,7 @@
ì¬ë¬ë¶ì APIë ëë¶ë¶ì ê²½ì° **ìëµ** 본문ì ë³´ë´ì¼ í©ëë¤. íì§ë§ í´ë¼ì´ì¸í¸ë **ìì²** 본문ì 매 ë² ë³´ë¼ íìê° ììµëë¤.
-**ìì²** 본문ì ì ì¸í기 ìí´ì 모ë ê°ë ¥í¨ê³¼ ì´ì ì ê°ì¶ Pydantic 모ë¸ì ì¬ì©í©ëë¤.
+**ìì²** 본문ì ì ì¸í기 ìí´ì 모ë ê°ë ¥í¨ê³¼ ì´ì ì ê°ì¶ Pydantic 모ë¸ì ì¬ì©í©ëë¤.
!!! ì ë³´
ë°ì´í°ë¥¼ ë³´ë´ê¸° ìí´, (ì¢ ë ë³´í¸ì ì¸) `POST`, `PUT`, `DELETE` í¹ì `PATCH` ì¤ì íë를 ì¬ì©íë ê²ì´ ì¢ìµëë¤.
diff --git a/docs/ko/docs/tutorial/path-params.md b/docs/ko/docs/tutorial/path-params.md
index 6d5d373528..a75c3cc8cc 100644
--- a/docs/ko/docs/tutorial/path-params.md
+++ b/docs/ko/docs/tutorial/path-params.md
@@ -93,7 +93,7 @@
## Pydantic
-모ë ë°ì´í° ê²ì¦ì Pydanticì ìí´ ë´ë¶ì ì¼ë¡ ìíëë¯ë¡ ì´ë¡ ì¸í ì´ì ì 모ë ì»ì ì ììµëë¤. ì¬ë¬ë¶ì ê´ë¦¬ë¥¼ ì ë°ê³ ììì ëë ì ììµëë¤.
+모ë ë°ì´í° ê²ì¦ì Pydanticì ìí´ ë´ë¶ì ì¼ë¡ ìíëë¯ë¡ ì´ë¡ ì¸í ì´ì ì 모ë ì»ì ì ììµëë¤. ì¬ë¬ë¶ì ê´ë¦¬ë¥¼ ì ë°ê³ ììì ëë ì ììµëë¤.
`str`, `float`, `bool`, ê·¸ë¦¬ê³ ë¤ë¥¸ ì¬ë¬ ë³µì¡í ë°ì´í° íì
ì ì¸ì í ì ììµëë¤.
diff --git a/docs/ko/docs/tutorial/response-model.md b/docs/ko/docs/tutorial/response-model.md
index 0c9d5c16ed..feff88a426 100644
--- a/docs/ko/docs/tutorial/response-model.md
+++ b/docs/ko/docs/tutorial/response-model.md
@@ -122,7 +122,7 @@ FastAPIë ì´ `response_model`를 ì¬ì©íì¬:
```
!!! info "ì ë³´"
- FastAPIë ì´ë¥¼ ìí´ Pydantic 모ë¸ì `.dict()`ì `exclude_unset` 매ê°ë³ì를 ì¬ì©í©ëë¤.
+ FastAPIë ì´ë¥¼ ìí´ Pydantic 모ë¸ì `.dict()`ì `exclude_unset` 매ê°ë³ì를 ì¬ì©í©ëë¤.
!!! info "ì ë³´"
ìë ëí ì¬ì©í ì ììµëë¤:
@@ -130,7 +130,7 @@ FastAPIë ì´ `response_model`를 ì¬ì©íì¬:
* `response_model_exclude_defaults=True`
* `response_model_exclude_none=True`
- Pydantic 문ììì `exclude_defaults` ë° `exclude_none`ì ëí´ ì¤ëª
í ëë¡ ì¬ì©í ì ììµëë¤.
+ Pydantic 문ììì `exclude_defaults` ë° `exclude_none`ì ëí´ ì¤ëª
í ëë¡ ì¬ì©í ì ììµëë¤.
#### 기본ê°ì´ ìë íë를 ê°ë ê°ì ë°ì´í°
diff --git a/docs/pl/docs/features.md b/docs/pl/docs/features.md
index 13f6d2ad7b..a6435977c9 100644
--- a/docs/pl/docs/features.md
+++ b/docs/pl/docs/features.md
@@ -174,7 +174,7 @@ DziÄki **FastAPI** otrzymujesz wszystkie funkcje **Starlette** (ponieważ FastA
## Cechy Pydantic
-**FastAPI** jest w peÅni kompatybilny z (oraz bazuje na) Pydantic. Tak wiÄc każdy dodatkowy kod Pydantic, który posiadasz, również bÄdzie dziaÅaÅ.
+**FastAPI** jest w peÅni kompatybilny z (oraz bazuje na) Pydantic. Tak wiÄc każdy dodatkowy kod Pydantic, który posiadasz, również bÄdzie dziaÅaÅ.
WliczajÄ
c w to zewnÄtrzne biblioteki, również oparte o Pydantic, takie jak ORM, ODM dla baz danych.
diff --git a/docs/pl/docs/index.md b/docs/pl/docs/index.md
index 828b13a057..ab33bfb9c8 100644
--- a/docs/pl/docs/index.md
+++ b/docs/pl/docs/index.md
@@ -111,7 +111,7 @@ Python 3.8+
FastAPI oparty jest na:
* Starlette dla czÄÅci webowej.
-* Pydantic dla czÄÅci obsÅugujÄ
cych dane.
+* Pydantic dla czÄÅci obsÅugujÄ
cych dane.
## Instalacja
diff --git a/docs/pt/docs/alternatives.md b/docs/pt/docs/alternatives.md
index 61ee4f9000..ba721536ff 100644
--- a/docs/pt/docs/alternatives.md
+++ b/docs/pt/docs/alternatives.md
@@ -340,7 +340,7 @@ Agora APIStar é um conjunto de ferramentas para validar especificações OpenAP
## Usados por **FastAPI**
-### Pydantic
+### Pydantic
Pydantic é uma biblioteca para definir validação de dados, serialização e documentação (usando JSON Schema) baseado nos Python _type hints_.
diff --git a/docs/pt/docs/features.md b/docs/pt/docs/features.md
index 83bd0ea92c..64efeeae1b 100644
--- a/docs/pt/docs/features.md
+++ b/docs/pt/docs/features.md
@@ -175,7 +175,7 @@ Com **FastAPI**, você terá todos os recursos do **Starlette** (já que FastAPI
## Recursos do Pydantic
-**FastAPI** é totalmente compatÃvel com (e baseado no) Pydantic. Então, qualquer código Pydantic adicional que você tiver, também funcionará.
+**FastAPI** é totalmente compatÃvel com (e baseado no) Pydantic. Então, qualquer código Pydantic adicional que você tiver, também funcionará.
Incluindo bibliotecas externas também baseadas no Pydantic, como ORMs e ODMs para bancos de dados.
diff --git a/docs/pt/docs/history-design-future.md b/docs/pt/docs/history-design-future.md
index 45427ec630..a7a1776601 100644
--- a/docs/pt/docs/history-design-future.md
+++ b/docs/pt/docs/history-design-future.md
@@ -54,7 +54,7 @@ Tudo de uma forma que oferecesse a melhor experiência de desenvolvimento para t
## Requisitos
-Após testar várias alternativas, eu decidi que usaria o **Pydantic** por suas vantagens.
+Após testar várias alternativas, eu decidi que usaria o **Pydantic** por suas vantagens.
Então eu contribuà com ele, para deixá-lo completamente de acordo com o JSON Schema, para dar suporte a diferentes maneiras de definir declarações de restrições, e melhorar o suporte a editores (conferências de tipos, auto completações) baseado nos testes em vários editores.
diff --git a/docs/pt/docs/index.md b/docs/pt/docs/index.md
index 390247ec9d..05786a0aa1 100644
--- a/docs/pt/docs/index.md
+++ b/docs/pt/docs/index.md
@@ -105,7 +105,7 @@ Python 3.8+
FastAPI está nos ombros de gigantes:
* Starlette para as partes web.
-* Pydantic para a parte de dados.
+* Pydantic para a parte de dados.
## Instalação
diff --git a/docs/pt/docs/python-types.md b/docs/pt/docs/python-types.md
index 9f12211c74..52b2dad8ef 100644
--- a/docs/pt/docs/python-types.md
+++ b/docs/pt/docs/python-types.md
@@ -266,7 +266,7 @@ E então, novamente, você recebe todo o suporte do editor:
## Modelos Pydantic
- Pydantic é uma biblioteca Python para executar a validação de dados.
+ Pydantic é uma biblioteca Python para executar a validação de dados.
Você declara a "forma" dos dados como classes com atributos.
@@ -283,7 +283,7 @@ Retirado dos documentos oficiais dos Pydantic:
```
!!! info "Informação"
- Para saber mais sobre o Pydantic, verifique seus documentos .
+ Para saber mais sobre o Pydantic, verifique seus documentos .
**FastAPI** é todo baseado em Pydantic.
diff --git a/docs/pt/docs/tutorial/body-nested-models.md b/docs/pt/docs/tutorial/body-nested-models.md
index 8ab77173e9..e039b09b2d 100644
--- a/docs/pt/docs/tutorial/body-nested-models.md
+++ b/docs/pt/docs/tutorial/body-nested-models.md
@@ -121,7 +121,7 @@ Novamente, apenas fazendo essa declaração, com o **FastAPI**, você ganha:
Além dos tipos singulares normais como `str`, `int`, `float`, etc. Você também pode usar tipos singulares mais complexos que herdam de `str`.
-Para ver todas as opções possÃveis, cheque a documentação para ostipos exoticos do Pydantic. Você verá alguns exemplos no próximo capitulo.
+Para ver todas as opções possÃveis, cheque a documentação para ostipos exoticos do Pydantic. Você verá alguns exemplos no próximo capitulo.
Por exemplo, no modelo `Image` nós temos um campo `url`, nós podemos declara-lo como um `HttpUrl` do Pydantic invés de como uma `str`:
diff --git a/docs/pt/docs/tutorial/body.md b/docs/pt/docs/tutorial/body.md
index 99e05ab77e..5901b84148 100644
--- a/docs/pt/docs/tutorial/body.md
+++ b/docs/pt/docs/tutorial/body.md
@@ -6,7 +6,7 @@ O corpo da **requisição** é a informação enviada pelo cliente para sua API.
Sua API quase sempre irá enviar um corpo na **resposta**. Mas os clientes não necessariamente precisam enviar um corpo em toda **requisição**.
-Para declarar um corpo da **requisição**, você utiliza os modelos do Pydantic com todos os seus poderes e benefÃcios.
+Para declarar um corpo da **requisição**, você utiliza os modelos do Pydantic com todos os seus poderes e benefÃcios.
!!! info "Informação"
Para enviar dados, você deve usar utilizar um dos métodos: `POST` (Mais comum), `PUT`, `DELETE` ou `PATCH`.
diff --git a/docs/pt/docs/tutorial/extra-data-types.md b/docs/pt/docs/tutorial/extra-data-types.md
index e4b9913dc3..5d50d89424 100644
--- a/docs/pt/docs/tutorial/extra-data-types.md
+++ b/docs/pt/docs/tutorial/extra-data-types.md
@@ -36,7 +36,7 @@ Aqui estão alguns dos tipos de dados adicionais que você pode usar:
* `datetime.timedelta`:
* O `datetime.timedelta` do Python.
* Em requisições e respostas será representado como um `float` de segundos totais.
- * O Pydantic também permite representá-lo como uma "codificação ISO 8601 diferença de tempo", cheque a documentação para mais informações.
+ * O Pydantic também permite representá-lo como uma "codificação ISO 8601 diferença de tempo", cheque a documentação para mais informações.
* `frozenset`:
* Em requisições e respostas, será tratado da mesma forma que um `set`:
* Nas requisições, uma lista será lida, eliminando duplicadas e convertendo-a em um `set`.
@@ -49,7 +49,7 @@ Aqui estão alguns dos tipos de dados adicionais que você pode usar:
* `Decimal`:
* O `Decimal` padrão do Python.
* Em requisições e respostas será representado como um `float`.
-* Você pode checar todos os tipos de dados válidos do Pydantic aqui: Tipos de dados do Pydantic.
+* Você pode checar todos os tipos de dados válidos do Pydantic aqui: Tipos de dados do Pydantic.
## Exemplo
diff --git a/docs/pt/docs/tutorial/extra-models.md b/docs/pt/docs/tutorial/extra-models.md
index 1343a3ae48..3b1f6ee54b 100644
--- a/docs/pt/docs/tutorial/extra-models.md
+++ b/docs/pt/docs/tutorial/extra-models.md
@@ -179,7 +179,7 @@ Isso será definido no OpenAPI com `anyOf`.
Para fazer isso, use a dica de tipo padrão do Python `typing.Union`:
!!! note
- Ao definir um `Union`, inclua o tipo mais especÃfico primeiro, seguido pelo tipo menos especÃfico. No exemplo abaixo, o tipo mais especÃfico `PlaneItem` vem antes de `CarItem` em `Union[PlaneItem, CarItem]`.
+ Ao definir um `Union`, inclua o tipo mais especÃfico primeiro, seguido pelo tipo menos especÃfico. No exemplo abaixo, o tipo mais especÃfico `PlaneItem` vem antes de `CarItem` em `Union[PlaneItem, CarItem]`.
=== "Python 3.8 and above"
diff --git a/docs/pt/docs/tutorial/handling-errors.md b/docs/pt/docs/tutorial/handling-errors.md
index 97a2e3eac9..d9f3d67821 100644
--- a/docs/pt/docs/tutorial/handling-errors.md
+++ b/docs/pt/docs/tutorial/handling-errors.md
@@ -160,7 +160,7 @@ path -> item_id
!!! warning "Aviso"
Você pode pular estes detalhes técnicos caso eles não sejam importantes para você neste momento.
-`RequestValidationError` é uma subclasse do `ValidationError` existente no Pydantic.
+`RequestValidationError` é uma subclasse do `ValidationError` existente no Pydantic.
**FastAPI** faz uso dele para que você veja o erro no seu log, caso você utilize um modelo de Pydantic em `response_model`, e seus dados tenham erro.
diff --git a/docs/pt/docs/tutorial/path-params.md b/docs/pt/docs/tutorial/path-params.md
index cd8c188584..be2b7f7a45 100644
--- a/docs/pt/docs/tutorial/path-params.md
+++ b/docs/pt/docs/tutorial/path-params.md
@@ -93,7 +93,7 @@ Da mesma forma, existem muitas ferramentas compatÃveis. Incluindo ferramentas d
## Pydantic
-Toda a validação de dados é feita por baixo dos panos pelo Pydantic, então você tem todos os benefÃcios disso. E assim você sabe que está em boas mãos.
+Toda a validação de dados é feita por baixo dos panos pelo Pydantic, então você tem todos os benefÃcios disso. E assim você sabe que está em boas mãos.
Você pode usar as mesmas declarações de tipo com `str`, `float`, `bool` e muitos outros tipos complexos de dados.
diff --git a/docs/pt/docs/tutorial/schema-extra-example.md b/docs/pt/docs/tutorial/schema-extra-example.md
index 0355450fa8..d04dc1a263 100644
--- a/docs/pt/docs/tutorial/schema-extra-example.md
+++ b/docs/pt/docs/tutorial/schema-extra-example.md
@@ -6,7 +6,7 @@ Aqui estão várias formas de se fazer isso.
## `schema_extra` do Pydantic
-Você pode declarar um `example` para um modelo Pydantic usando `Config` e `schema_extra`, conforme descrito em Documentação do Pydantic: Schema customization:
+Você pode declarar um `example` para um modelo Pydantic usando `Config` e `schema_extra`, conforme descrito em Documentação do Pydantic: Schema customization:
```Python hl_lines="15-23"
{!../../../docs_src/schema_extra_example/tutorial001.py!}
diff --git a/docs/ru/docs/alternatives.md b/docs/ru/docs/alternatives.md
index 9e3c497d10..24a45fa55f 100644
--- a/docs/ru/docs/alternatives.md
+++ b/docs/ru/docs/alternatives.md
@@ -384,7 +384,7 @@ Hug бÑл одним из пеÑвÑÑ
ÑÑеймвоÑков, Ñеализов
## ЧÑо иÑполÑзÑеÑÑÑ Ð² **FastAPI**
-### Pydantic
+### Pydantic
Pydantic - ÑÑо библиоÑека Ð´Ð»Ñ Ð²Ð°Ð»Ð¸Ð´Ð°Ñии даннÑÑ
, ÑеÑиализаÑии и докÑменÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ (иÑполÑзÑÑ JSON Schema), оÑновÑваÑÑÑ Ð½Ð° подÑказкаÑ
Ñипов Python, ÑÑо Ð´ÐµÐ»Ð°ÐµÑ ÐµÐ³Ð¾ ÑÑезвÑÑайно инÑÑиÑивнÑм.
diff --git a/docs/ru/docs/features.md b/docs/ru/docs/features.md
index d67a9654b1..110c7d31e1 100644
--- a/docs/ru/docs/features.md
+++ b/docs/ru/docs/features.md
@@ -177,7 +177,7 @@ FastAPI вклÑÑÐ°ÐµÑ Ð² ÑÐµÐ±Ñ ÑÑезвÑÑайно пÑоÑÑÑÑ Ð² и
## ÐÑобенноÑÑи и возможноÑÑи Pydantic
-**FastAPI** оÑнован на Pydantic и полноÑÑÑÑ ÑовмеÑÑим Ñ Ð½Ð¸Ð¼. Так ÑÑо, лÑбой дополниÑелÑнÑй код Pydantic, коÑоÑÑй Ñ Ð²Ð°Ñ ÐµÑÑÑ, бÑÐ´ÐµÑ Ñакже ÑабоÑаÑÑ.
+**FastAPI** оÑнован на Pydantic и полноÑÑÑÑ ÑовмеÑÑим Ñ Ð½Ð¸Ð¼. Так ÑÑо, лÑбой дополниÑелÑнÑй код Pydantic, коÑоÑÑй Ñ Ð²Ð°Ñ ÐµÑÑÑ, бÑÐ´ÐµÑ Ñакже ÑабоÑаÑÑ.
ÐклÑÑÐ°Ñ Ð²Ð½ÐµÑние библиоÑеки, Ñакже оÑнованнÑе на Pydantic, Ñакие как: ORM'Ñ, ODM'Ñ Ð´Ð»Ñ Ð±Ð°Ð· даннÑÑ
.
diff --git a/docs/ru/docs/history-design-future.md b/docs/ru/docs/history-design-future.md
index 2a5e428b1b..e9572a6d6e 100644
--- a/docs/ru/docs/history-design-future.md
+++ b/docs/ru/docs/history-design-future.md
@@ -52,7 +52,7 @@
## ÐавиÑимоÑÑи
-ÐÑоÑеÑÑиÑовав неÑколÑко ваÑианÑов, Ñ ÑеÑил, ÑÑо в каÑеÑÑве оÑÐ½Ð¾Ð²Ñ Ð±ÑÐ´Ñ Ð¸ÑполÑзоваÑÑ **Pydantic** и его пÑеимÑÑеÑÑва.
+ÐÑоÑеÑÑиÑовав неÑколÑко ваÑианÑов, Ñ ÑеÑил, ÑÑо в каÑеÑÑве оÑÐ½Ð¾Ð²Ñ Ð±ÑÐ´Ñ Ð¸ÑполÑзоваÑÑ **Pydantic** и его пÑеимÑÑеÑÑва.
Ðо моим пÑедложениÑм бÑл изменÑн код ÑÑого ÑÑеймвоÑка, ÑÑÐ¾Ð±Ñ ÑделаÑÑ ÐµÐ³Ð¾ полноÑÑÑÑ ÑовмеÑÑимÑм Ñ JSON Schema, поддеÑжаÑÑ ÑазлиÑнÑе ÑпоÑÐ¾Ð±Ñ Ð¾Ð¿ÑÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¾Ð³ÑаниÑений и ÑлÑÑÑиÑÑ Ð¿Ð¾Ð¼Ð¾ÑÑ ÑедакÑоÑов (пÑовеÑки Ñипов, авÑозаполнение).
diff --git a/docs/ru/docs/index.md b/docs/ru/docs/index.md
index 6e88b496f6..477567af69 100644
--- a/docs/ru/docs/index.md
+++ b/docs/ru/docs/index.md
@@ -114,7 +114,7 @@ Python 3.8+
FastAPI ÑÑÐ¾Ð¸Ñ Ð½Ð° плеÑаÑ
гиганÑов:
* Starlette Ð´Ð»Ñ ÑаÑÑи ÑвÑзанной Ñ Ð²ÐµÐ±Ð¾Ð¼.
-* Pydantic Ð´Ð»Ñ ÑаÑÑи ÑвÑзанной Ñ Ð´Ð°Ð½Ð½Ñми.
+* Pydantic Ð´Ð»Ñ ÑаÑÑи ÑвÑзанной Ñ Ð´Ð°Ð½Ð½Ñми.
## УÑÑановка
diff --git a/docs/ru/docs/python-types.md b/docs/ru/docs/python-types.md
index 7523083c88..3c8492c67b 100644
--- a/docs/ru/docs/python-types.md
+++ b/docs/ru/docs/python-types.md
@@ -265,7 +265,7 @@ John Doe
## Pydantic-модели
-Pydantic ÑвлÑеÑÑÑ Python-библиоÑекой Ð´Ð»Ñ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð²Ð°Ð»Ð¸Ð´Ð°Ñии даннÑÑ
.
+Pydantic ÑвлÑеÑÑÑ Python-библиоÑекой Ð´Ð»Ñ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð²Ð°Ð»Ð¸Ð´Ð°Ñии даннÑÑ
.
ÐÑ Ð¾Ð±ÑÑвлÑеÑе «ÑоÑмÑ» даннÑÑ
как клаÑÑÑ Ñ Ð°ÑÑибÑÑами.
@@ -282,7 +282,7 @@ John Doe
```
!!! info
- ЧÑÐ¾Ð±Ñ ÑзнаÑÑ Ð±Ð¾Ð»ÑÑе о Pydantic, ÑиÑайÑе его докÑменÑаÑиÑ.
+ ЧÑÐ¾Ð±Ñ ÑзнаÑÑ Ð±Ð¾Ð»ÑÑе о Pydantic, ÑиÑайÑе его докÑменÑаÑиÑ.
**FastAPI** Ñеликом оÑнован на Pydantic.
diff --git a/docs/ru/docs/tutorial/body-nested-models.md b/docs/ru/docs/tutorial/body-nested-models.md
index bbf9b76859..51a32ba567 100644
--- a/docs/ru/docs/tutorial/body-nested-models.md
+++ b/docs/ru/docs/tutorial/body-nested-models.md
@@ -192,7 +192,7 @@ my_list: List[str]
Ðомимо обÑÑнÑÑ
пÑоÑÑÑÑ
Ñипов, ÑакиÑ
как `str`, `int`, `float`, и Ñ.д. ÐÑ Ð¼Ð¾Ð¶ÐµÑе иÑполÑзоваÑÑ Ð±Ð¾Ð»ÐµÐµ ÑложнÑе базовÑе ÑипÑ, коÑоÑÑе наÑледÑÑÑÑÑ Ð¾Ñ Ñипа `str`.
-ЧÑÐ¾Ð±Ñ ÑвидеÑÑ Ð²Ñе ваÑианÑÑ, коÑоÑÑе Ñ Ð²Ð°Ñ ÐµÑÑÑ, ознакомÑÑеÑÑ Ñ Ð´Ð¾ÐºÑменÑаÑией по необÑÑнÑм Ñипам Pydantic. ÐÑ ÑвидиÑе некоÑоÑÑе пÑимеÑÑ Ð² ÑледÑÑÑей главе.
+ЧÑÐ¾Ð±Ñ ÑвидеÑÑ Ð²Ñе ваÑианÑÑ, коÑоÑÑе Ñ Ð²Ð°Ñ ÐµÑÑÑ, ознакомÑÑеÑÑ Ñ Ð´Ð¾ÐºÑменÑаÑией по необÑÑнÑм Ñипам Pydantic. ÐÑ ÑвидиÑе некоÑоÑÑе пÑимеÑÑ Ð² ÑледÑÑÑей главе.
ÐапÑимеÑ, Ñак как в модели `Image` Ñ Ð½Ð°Ñ ÐµÑÑÑ Ð¿Ð¾Ð»Ðµ `url`, Ñо Ð¼Ñ Ð¼Ð¾Ð¶ÐµÐ¼ обÑÑвиÑÑ ÐµÐ³Ð¾ как Ñип `HttpUrl` из модÑÐ»Ñ Pydantic вмеÑÑо Ñипа `str`:
diff --git a/docs/ru/docs/tutorial/body.md b/docs/ru/docs/tutorial/body.md
index c03d40c3fb..96f80af060 100644
--- a/docs/ru/docs/tutorial/body.md
+++ b/docs/ru/docs/tutorial/body.md
@@ -6,7 +6,7 @@
ÐÐ°Ñ API поÑÑи вÑегда оÑпÑавлÑÐµÑ Ñело **оÑвеÑа**. Ðо клиенÑам не обÑзаÑелÑно вÑегда оÑпÑавлÑÑÑ Ñело **запÑоÑа**.
-ЧÑÐ¾Ð±Ñ Ð¾Ð±ÑÑвиÑÑ Ñело **запÑоÑа**, необÑ
одимо иÑполÑзоваÑÑ Ð¼Ð¾Ð´ÐµÐ»Ð¸ Pydantic, Ñо вÑей иÑ
моÑÑÑ Ð¸ пÑеимÑÑеÑÑвами.
+ЧÑÐ¾Ð±Ñ Ð¾Ð±ÑÑвиÑÑ Ñело **запÑоÑа**, необÑ
одимо иÑполÑзоваÑÑ Ð¼Ð¾Ð´ÐµÐ»Ð¸ Pydantic, Ñо вÑей иÑ
моÑÑÑ Ð¸ пÑеимÑÑеÑÑвами.
!!! info "ÐнÑоÑмаÑиÑ"
ЧÑÐ¾Ð±Ñ Ð¾ÑпÑавиÑÑ Ð´Ð°Ð½Ð½Ñе, необÑ
одимо иÑполÑзоваÑÑ Ð¾Ð´Ð¸Ð½ из меÑодов: `POST` (обÑÑно), `PUT`, `DELETE` или `PATCH`.
diff --git a/docs/ru/docs/tutorial/extra-data-types.md b/docs/ru/docs/tutorial/extra-data-types.md
index 0f613a6b29..d4727e2d4d 100644
--- a/docs/ru/docs/tutorial/extra-data-types.md
+++ b/docs/ru/docs/tutorial/extra-data-types.md
@@ -36,7 +36,7 @@
* `datetime.timedelta`:
* ÐÑÑÑоеннÑй в Python `datetime.timedelta`.
* РзапÑоÑаÑ
и оÑвеÑаÑ
бÑÐ´ÐµÑ Ð¿ÑедÑÑавлен в виде обÑего колиÑеÑÑва ÑекÑнд Ñипа `float`.
- * Pydantic Ñакже позволÑÐµÑ Ð¿ÑедÑÑавиÑÑ ÐµÐ³Ð¾ как "ÐодиÑÐ¾Ð²ÐºÑ ÑазниÑÑ Ð²Ð¾ вÑемени ISO 8601", Ñм. докÑменÑаÑÐ¸Ñ Ð´Ð»Ñ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑной инÑоÑмаÑии.
+ * Pydantic Ñакже позволÑÐµÑ Ð¿ÑедÑÑавиÑÑ ÐµÐ³Ð¾ как "ÐодиÑÐ¾Ð²ÐºÑ ÑазниÑÑ Ð²Ð¾ вÑемени ISO 8601", Ñм. докÑменÑаÑÐ¸Ñ Ð´Ð»Ñ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑной инÑоÑмаÑии.
* `frozenset`:
* РзапÑоÑаÑ
и оÑвеÑаÑ
обÑабаÑÑваеÑÑÑ Ñак же, как и `set`:
* РзапÑоÑаÑ
бÑÐ´ÐµÑ Ð¿ÑоÑиÑан ÑпиÑок, иÑклÑÑÐµÐ½Ñ Ð´ÑбликаÑÑ Ð¸ пÑеобÑазован в `set`.
@@ -49,7 +49,7 @@
* `Decimal`:
* ÐÑÑÑоеннÑй в Python `Decimal`.
* РзапÑоÑаÑ
и оÑвеÑаÑ
обÑабаÑÑваеÑÑÑ Ñак же, как и `float`.
-* ÐÑ Ð¼Ð¾Ð¶ÐµÑе пÑовеÑиÑÑ Ð²Ñе допÑÑÑимÑе ÑÐ¸Ð¿Ñ Ð´Ð°Ð½Ð½ÑÑ
pydantic здеÑÑ: Ð¢Ð¸Ð¿Ñ Ð´Ð°Ð½Ð½ÑÑ
Pydantic.
+* ÐÑ Ð¼Ð¾Ð¶ÐµÑе пÑовеÑиÑÑ Ð²Ñе допÑÑÑимÑе ÑÐ¸Ð¿Ñ Ð´Ð°Ð½Ð½ÑÑ
pydantic здеÑÑ: Ð¢Ð¸Ð¿Ñ Ð´Ð°Ð½Ð½ÑÑ
Pydantic.
## ÐÑимеÑ
diff --git a/docs/ru/docs/tutorial/extra-models.md b/docs/ru/docs/tutorial/extra-models.md
index 30176b4e3c..78855313da 100644
--- a/docs/ru/docs/tutorial/extra-models.md
+++ b/docs/ru/docs/tutorial/extra-models.md
@@ -179,7 +179,7 @@ UserInDB(
ÐÐ»Ñ ÑÑого иÑполÑзÑйÑе ÑÑандаÑÑнÑе анноÑаÑии Ñипов в Python `typing.Union`:
!!! note "ÐÑимеÑание"
- ÐÑи обÑÑвлении `Union`, ÑнаÑала ÑказÑвайÑе наиболее деÑалÑнÑе ÑипÑ, заÑем менее деÑалÑнÑе. РпÑимеÑе ниже более деÑалÑнÑй `PlaneItem` ÑÑÐ¾Ð¸Ñ Ð¿ÐµÑед `CarItem` в `Union[PlaneItem, CarItem]`.
+ ÐÑи обÑÑвлении `Union`, ÑнаÑала ÑказÑвайÑе наиболее деÑалÑнÑе ÑипÑ, заÑем менее деÑалÑнÑе. РпÑимеÑе ниже более деÑалÑнÑй `PlaneItem` ÑÑÐ¾Ð¸Ñ Ð¿ÐµÑед `CarItem` в `Union[PlaneItem, CarItem]`.
=== "Python 3.10+"
diff --git a/docs/ru/docs/tutorial/handling-errors.md b/docs/ru/docs/tutorial/handling-errors.md
index f578cf1983..40b6f9bc4a 100644
--- a/docs/ru/docs/tutorial/handling-errors.md
+++ b/docs/ru/docs/tutorial/handling-errors.md
@@ -163,7 +163,7 @@ path -> item_id
!!! warning "Ðнимание"
ÐÑо ÑеÑ
ниÑеÑкие деÑали, коÑоÑÑе можно пÑопÑÑÑиÑÑ, еÑли они не Ð²Ð°Ð¶Ð½Ñ Ð´Ð»Ñ Ð²Ð°Ñ ÑейÑаÑ.
-`RequestValidationError` ÑвлÑеÑÑÑ Ð¿Ð¾Ð´ÐºÐ»Ð°ÑÑом Pydantic `ValidationError`.
+`RequestValidationError` ÑвлÑеÑÑÑ Ð¿Ð¾Ð´ÐºÐ»Ð°ÑÑом Pydantic `ValidationError`.
**FastAPI** иÑполÑзÑÐµÑ ÐµÐ³Ð¾ Ð´Ð»Ñ Ñого, ÑÑобÑ, еÑли Ð²Ñ Ð¸ÑполÑзÑеÑе Pydantic-Ð¼Ð¾Ð´ÐµÐ»Ñ Ð² `response_model`, и ваÑи даннÑе ÑодеÑÐ¶Ð°Ñ Ð¾ÑибкÑ, Ð²Ñ Ñвидели оÑÐ¸Ð±ÐºÑ Ð² жÑÑнале.
diff --git a/docs/ru/docs/tutorial/path-params.md b/docs/ru/docs/tutorial/path-params.md
index 55b498ef0a..1241e0919d 100644
--- a/docs/ru/docs/tutorial/path-params.md
+++ b/docs/ru/docs/tutorial/path-params.md
@@ -93,7 +93,7 @@
## Pydantic
-ÐÑÑ Ð¿ÑовеÑка даннÑÑ
вÑполнÑеÑÑÑ Ð¿Ð¾Ð´ капоÑом Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Pydantic. ÐоÑÑÐ¾Ð¼Ñ Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе бÑÑÑ ÑвеÑÐµÐ½Ñ Ð² каÑеÑÑве обÑабоÑки даннÑÑ
.
+ÐÑÑ Ð¿ÑовеÑка даннÑÑ
вÑполнÑеÑÑÑ Ð¿Ð¾Ð´ капоÑом Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Pydantic. ÐоÑÑÐ¾Ð¼Ñ Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе бÑÑÑ ÑвеÑÐµÐ½Ñ Ð² каÑеÑÑве обÑабоÑки даннÑÑ
.
ÐÑ Ð¼Ð¾Ð¶ÐµÑе иÑполÑзоваÑÑ Ð² анноÑаÑиÑÑ
как пÑоÑÑÑе ÑÐ¸Ð¿Ñ Ð´Ð°Ð½Ð½ÑÑ
, вÑоде `str`, `float`, `bool`, Ñак и более ÑложнÑе ÑипÑ.
diff --git a/docs/ru/docs/tutorial/query-params-str-validations.md b/docs/ru/docs/tutorial/query-params-str-validations.md
index cc826b8711..108aefefc5 100644
--- a/docs/ru/docs/tutorial/query-params-str-validations.md
+++ b/docs/ru/docs/tutorial/query-params-str-validations.md
@@ -479,7 +479,7 @@ q: Union[str, None] = None
```
!!! tip "ÐодÑказка"
- Pydantic, моÑÑ ÐºÐ¾ÑоÑого иÑполÑзÑеÑÑÑ Ð² FastAPI Ð´Ð»Ñ Ð²Ð°Ð»Ð¸Ð´Ð°Ñии и ÑеÑиализаÑии, Ð¸Ð¼ÐµÐµÑ ÑпеÑиалÑное поведение Ð´Ð»Ñ `Optional` или `Union[Something, None]` без знаÑÐµÐ½Ð¸Ñ Ð¿Ð¾ ÑмолÑаниÑ. ÐÑ Ð¼Ð¾Ð¶ÐµÑе ÑзнаÑÑ Ð¾Ð± ÑÑом болÑÑе в докÑменÑаÑии Pydantic, Ñаздел ÐбÑзаÑелÑнÑе ÐпÑионалÑнÑе полÑ.
+ Pydantic, моÑÑ ÐºÐ¾ÑоÑого иÑполÑзÑеÑÑÑ Ð² FastAPI Ð´Ð»Ñ Ð²Ð°Ð»Ð¸Ð´Ð°Ñии и ÑеÑиализаÑии, Ð¸Ð¼ÐµÐµÑ ÑпеÑиалÑное поведение Ð´Ð»Ñ `Optional` или `Union[Something, None]` без знаÑÐµÐ½Ð¸Ñ Ð¿Ð¾ ÑмолÑаниÑ. ÐÑ Ð¼Ð¾Ð¶ÐµÑе ÑзнаÑÑ Ð¾Ð± ÑÑом болÑÑе в докÑменÑаÑии Pydantic, Ñаздел ÐбÑзаÑелÑнÑе ÐпÑионалÑнÑе полÑ.
### ÐÑполÑзование Pydantic's `Required` вмеÑÑо Ellipsis (`...`)
diff --git a/docs/ru/docs/tutorial/response-model.md b/docs/ru/docs/tutorial/response-model.md
index 38b45e2a57..9b9b60dd55 100644
--- a/docs/ru/docs/tutorial/response-model.md
+++ b/docs/ru/docs/tutorial/response-model.md
@@ -377,7 +377,7 @@ FastAPI ÑовмеÑÑно Ñ Pydantic вÑÐ¿Ð¾Ð»Ð½Ð¸Ñ Ð½ÐµÐºÐ¾ÑоÑÑÑ Ð¼Ð°
```
!!! info "ÐнÑоÑмаÑиÑ"
- "Ðод капоÑом" FastAPI иÑполÑзÑÐµÑ Ð¼ÐµÑод `.dict()` Ñ Ð¾Ð±ÑекÑов моделей Pydantic Ñ Ð¿Ð°ÑамеÑÑом `exclude_unset`, ÑÑÐ¾Ð±Ñ Ð´Ð¾ÑÑиÑÑ Ñакого ÑÑÑекÑа.
+ "Ðод капоÑом" FastAPI иÑполÑзÑÐµÑ Ð¼ÐµÑод `.dict()` Ñ Ð¾Ð±ÑекÑов моделей Pydantic Ñ Ð¿Ð°ÑамеÑÑом `exclude_unset`, ÑÑÐ¾Ð±Ñ Ð´Ð¾ÑÑиÑÑ Ñакого ÑÑÑекÑа.
!!! info "ÐнÑоÑмаÑиÑ"
ÐÑ Ñакже можеÑе иÑполÑзоваÑÑ:
@@ -385,7 +385,7 @@ FastAPI ÑовмеÑÑно Ñ Pydantic вÑÐ¿Ð¾Ð»Ð½Ð¸Ñ Ð½ÐµÐºÐ¾ÑоÑÑÑ Ð¼Ð°
* `response_model_exclude_defaults=True`
* `response_model_exclude_none=True`
- как опиÑано в докÑменÑаÑии Pydantic Ð´Ð»Ñ Ð¿Ð°ÑамеÑÑов `exclude_defaults` и `exclude_none`.
+ как опиÑано в докÑменÑаÑии Pydantic Ð´Ð»Ñ Ð¿Ð°ÑамеÑÑов `exclude_defaults` и `exclude_none`.
#### ÐÑли знаÑение Ð¿Ð¾Ð»Ñ Ð¾ÑлиÑаеÑÑÑ Ð¾Ñ Ð·Ð½Ð°ÑÐµÐ½Ð¸Ñ Ð¿Ð¾-ÑмолÑаниÑ
diff --git a/docs/ru/docs/tutorial/schema-extra-example.md b/docs/ru/docs/tutorial/schema-extra-example.md
index a13ab59354..e1011805af 100644
--- a/docs/ru/docs/tutorial/schema-extra-example.md
+++ b/docs/ru/docs/tutorial/schema-extra-example.md
@@ -6,7 +6,7 @@
## Pydantic `schema_extra`
-ÐÑ Ð¼Ð¾Ð¶ÐµÑе обÑÑвиÑÑ ÐºÐ»ÑÑ `example` Ð´Ð»Ñ Ð¼Ð¾Ð´ÐµÐ»Ð¸ Pydantic, иÑполÑзÑÑ ÐºÐ»Ð°ÑÑ `Config` и пеÑеменнÑÑ `schema_extra`, как опиÑано в Pydantic докÑменÑаÑии: ÐаÑÑÑойка ÑÑ
емÑ:
+ÐÑ Ð¼Ð¾Ð¶ÐµÑе обÑÑвиÑÑ ÐºÐ»ÑÑ `example` Ð´Ð»Ñ Ð¼Ð¾Ð´ÐµÐ»Ð¸ Pydantic, иÑполÑзÑÑ ÐºÐ»Ð°ÑÑ `Config` и пеÑеменнÑÑ `schema_extra`, как опиÑано в Pydantic докÑменÑаÑии: ÐаÑÑÑойка ÑÑ
емÑ:
=== "Python 3.10+"
diff --git a/docs/tr/docs/alternatives.md b/docs/tr/docs/alternatives.md
index 9c69503c98..462d8b3046 100644
--- a/docs/tr/docs/alternatives.md
+++ b/docs/tr/docs/alternatives.md
@@ -336,7 +336,7 @@ Artık APIStar, OpenAPI özelliklerini doÄrulamak için bir dizi araç sunan bi
## **FastAPI** Tarafından Kullanılanlar
-### Pydantic
+### Pydantic
Pydantic Python tip belirteçlerine dayanan; veri doÄrulama, veri dönüÅtürme ve dökümantasyon tanımlamak (JSON Åema kullanarak) için bir kütüphanedir.
diff --git a/docs/tr/docs/features.md b/docs/tr/docs/features.md
index ef4975c59e..1cda8c7fbc 100644
--- a/docs/tr/docs/features.md
+++ b/docs/tr/docs/features.md
@@ -182,7 +182,7 @@ Bütün entegrasyonlar kullanımı kolay olmak üzere (zorunluluklar ile beraber
## Pydantic özellikleri
-**FastAPI** ile Pydantic tamamiyle uyumlu ve üzerine kurulu. Yani FastAPI üzerine ekleme yapacaÄınız herhangi bir Pydantic kodu da çalıÅacaktır.
+**FastAPI** ile Pydantic tamamiyle uyumlu ve üzerine kurulu. Yani FastAPI üzerine ekleme yapacaÄınız herhangi bir Pydantic kodu da çalıÅacaktır.
Bunlara Pydantic üzerine kurulu ORM databaseler ve , ODM kütüphaneler de dahil olmak üzere.
diff --git a/docs/tr/docs/history-design-future.md b/docs/tr/docs/history-design-future.md
index 950fcf37d7..1dd0e637f5 100644
--- a/docs/tr/docs/history-design-future.md
+++ b/docs/tr/docs/history-design-future.md
@@ -54,7 +54,7 @@ Hepsi, tüm geliÅtiriciler için en iyi geliÅtirme deneyimini saÄlayacak Åek
## Gereksinimler
-ÃeÅitli alternatifleri test ettikten sonra, avantajlarından dolayı **Pydantic**'i kullanmaya karar verdim.
+ÃeÅitli alternatifleri test ettikten sonra, avantajlarından dolayı **Pydantic**'i kullanmaya karar verdim.
Sonra, JSON Schema ile tamamen uyumlu olmasını saÄlamak, kısıtlama bildirimlerini tanımlamanın farklı yollarını desteklemek ve birkaç editördeki testlere dayanarak editör desteÄini (tip kontrolleri, otomatik tamamlama) geliÅtirmek için katkıda bulundum.
diff --git a/docs/tr/docs/index.md b/docs/tr/docs/index.md
index fbde3637af..afbb27f7df 100644
--- a/docs/tr/docs/index.md
+++ b/docs/tr/docs/index.md
@@ -120,7 +120,7 @@ Python 3.8+
FastAPI iki devin omuzları üstünde duruyor:
* Web tarafı için Starlette.
-* Data tarafı için Pydantic.
+* Data tarafı için Pydantic.
## Kurulum
diff --git a/docs/tr/docs/python-types.md b/docs/tr/docs/python-types.md
index 3b9ab90507..a0d32c86e5 100644
--- a/docs/tr/docs/python-types.md
+++ b/docs/tr/docs/python-types.md
@@ -265,7 +265,7 @@ Ve yine bütün editör desteÄini alırsınız:
## Pydantic modelleri
-Pydantic veri doÄrulaması yapmak için bir Python kütüphanesidir.
+Pydantic veri doÄrulaması yapmak için bir Python kütüphanesidir.
Verilerin "biçimini" niteliklere sahip sınıflar olarak düzenlersiniz.
@@ -282,7 +282,7 @@ Resmi Pydantic dokümanlarından alınmıÅtır:
```
!!! info
- Daha fazla Åey öÄrenmek için Pydantic'i takip edin.
+ Daha fazla Åey öÄrenmek için Pydantic'i takip edin.
**FastAPI** tamamen Pydantic'e dayanmaktadır.
diff --git a/docs/tr/docs/tutorial/path-params.md b/docs/tr/docs/tutorial/path-params.md
index cfcf881fd5..c190236452 100644
--- a/docs/tr/docs/tutorial/path-params.md
+++ b/docs/tr/docs/tutorial/path-params.md
@@ -95,7 +95,7 @@ Aynı Åekilde, farklı diller için kod türetme araçları da dahil olmak üze
## Pydantic
-Tüm veri doÄrulamaları Pydantic tarafından arka planda gerçekleÅtirilir, bu sayede tüm avantajlardan faydalanabilirsiniz. Böylece, emin ellerde olduÄunuzu hissedebilirsiniz.
+Tüm veri doÄrulamaları Pydantic tarafından arka planda gerçekleÅtirilir, bu sayede tüm avantajlardan faydalanabilirsiniz. Böylece, emin ellerde olduÄunuzu hissedebilirsiniz.
Aynı tip tanımlamalarını `str`, `float`, `bool` ve diÄer karmaÅık veri tipleri ile kullanma imkanınız vardır.
diff --git a/docs/uk/docs/alternatives.md b/docs/uk/docs/alternatives.md
index e712579769..bdb62513e0 100644
--- a/docs/uk/docs/alternatives.md
+++ b/docs/uk/docs/alternatives.md
@@ -340,7 +340,7 @@ Hug бÑв одним Ñз пеÑÑиÑ
ÑÑеймвоÑкÑв, Ñкий Ñеа
## ÐикоÑиÑÑовÑÑÑÑÑÑ **FastAPI**
-### Pydantic
+### Pydantic
Pydantic â Ñе бÑблÑоÑека Ð´Ð»Ñ Ð²Ð¸Ð·Ð½Ð°ÑÐµÐ½Ð½Ñ Ð¿ÐµÑевÑÑки даниÑ
, ÑеÑÑалÑзаÑÑÑ Ñа докÑменÑаÑÑÑ (за Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ð¾Ñ ÑÑ
еми JSON) на оÑÐ½Ð¾Ð²Ñ Ð¿Ñдказок ÑÐ¸Ð¿Ñ Python.
diff --git a/docs/uk/docs/index.md b/docs/uk/docs/index.md
index afcaa89187..32f1f544a2 100644
--- a/docs/uk/docs/index.md
+++ b/docs/uk/docs/index.md
@@ -115,7 +115,7 @@ Python 3.8+
FastAPI ÑÑоÑÑÑ Ð½Ð° плеÑаÑ
гÑганÑÑв:
* Starlette Ð´Ð»Ñ web ÑаÑÑини.
-* Pydantic Ð´Ð»Ñ ÑаÑÑини даниÑ
.
+* Pydantic Ð´Ð»Ñ ÑаÑÑини даниÑ
.
## ÐÑÑавновленнÑ
diff --git a/docs/uk/docs/python-types.md b/docs/uk/docs/python-types.md
index 6c8e290168..e767db2fbc 100644
--- a/docs/uk/docs/python-types.md
+++ b/docs/uk/docs/python-types.md
@@ -385,7 +385,7 @@ John Doe
## Pydantic моделÑ
-Pydantic Ñе бÑблÑоÑека Python Ð´Ð»Ñ Ð²Ð°Ð»ÑдаÑÑÑ Ð´Ð°Ð½Ð¸Ñ
.
+Pydantic Ñе бÑблÑоÑека Python Ð´Ð»Ñ Ð²Ð°Ð»ÑдаÑÑÑ Ð´Ð°Ð½Ð¸Ñ
.
Ðи оголоÑÑÑÑе «ÑоÑмÑ» даниÑ
Ñк клаÑи з аÑÑибÑÑами.
@@ -416,7 +416,7 @@ John Doe
```
!!! info
- Щоб дÑзнаÑиÑÑ Ð±ÑлÑÑе пÑо Pydantic, пеÑеглÑнÑÑе його докÑменÑаÑÑÑ.
+ Щоб дÑзнаÑиÑÑ Ð±ÑлÑÑе пÑо Pydantic, пеÑеглÑнÑÑе його докÑменÑаÑÑÑ.
**FastAPI** повнÑÑÑÑ Ð±Ð°Ð·ÑÑÑÑÑÑ Ð½Ð° Pydantic.
diff --git a/docs/uk/docs/tutorial/body.md b/docs/uk/docs/tutorial/body.md
index 9759e7f450..11e94e9299 100644
--- a/docs/uk/docs/tutorial/body.md
+++ b/docs/uk/docs/tutorial/body.md
@@ -6,7 +6,7 @@
ÐÐ°Ñ API майже завжди Ð¼Ð°Ñ Ð½Ð°Ð´ÑилаÑи ÑÑло **вÑдповÑдÑ**. Ðле клÑÑнÑам не обовâÑзково поÑÑÑбно поÑÑÑйно надÑилаÑи ÑÑла **запиÑÑв**.
-Щоб оголоÑиÑи ÑÑло **запиÑÑ**, ви викоÑиÑÑовÑÑÑе Pydantic Ð¼Ð¾Ð´ÐµÐ»Ñ Ð· ÑÑÑÑÑ ÑÑ
поÑÑжнÑÑÑÑ Ñа пеÑевагами.
+Щоб оголоÑиÑи ÑÑло **запиÑÑ**, ви викоÑиÑÑовÑÑÑе Pydantic Ð¼Ð¾Ð´ÐµÐ»Ñ Ð· ÑÑÑÑÑ ÑÑ
поÑÑжнÑÑÑÑ Ñа пеÑевагами.
!!! info
Щоб надÑÑлаÑи данÑ, ви Ð¿Ð¾Ð²Ð¸Ð½Ð½Ñ Ð²Ð¸ÐºÐ¾ÑиÑÑовÑваÑи один Ñз: `POST` (бÑлÑÑ Ð¿Ð¾ÑиÑений), `PUT`, `DELETE` або `PATCH`.
diff --git a/docs/uk/docs/tutorial/extra-data-types.md b/docs/uk/docs/tutorial/extra-data-types.md
index ec5ec0d18f..01852803ad 100644
--- a/docs/uk/docs/tutorial/extra-data-types.md
+++ b/docs/uk/docs/tutorial/extra-data-types.md
@@ -36,7 +36,7 @@
* `datetime.timedelta`:
* ÐайÑонÑвÑÑкий `datetime.timedelta`.
* У запиÑаÑ
Ñа вÑдповÑдÑÑ
бÑде пÑедÑÑавлений Ñк `float` загалÑÐ½Ð¾Ñ ÐºÑлÑкоÑÑÑ ÑекÑнд.
- * Pydantic Ñакож дозволÑÑ Ð¿ÑедÑÑавлÑÑи Ñе Ñк "ISO 8601 time diff encoding", бÑлÑÑе ÑнÑоÑмаÑÑÑ Ð´Ð¸Ð²Ð¸ÑÑ Ñ Ð´Ð¾ÐºÑменÑаÑÑÑ.
+ * Pydantic Ñакож дозволÑÑ Ð¿ÑедÑÑавлÑÑи Ñе Ñк "ISO 8601 time diff encoding", бÑлÑÑе ÑнÑоÑмаÑÑÑ Ð´Ð¸Ð²Ð¸ÑÑ Ñ Ð´Ð¾ÐºÑменÑаÑÑÑ.
* `frozenset`:
* У запиÑаÑ
Ñ Ð²ÑдповÑдÑÑ
Ñе бÑде обÑоблено Ñак Ñамо, Ñк Ñ `set`:
* У запиÑаÑ
ÑпиÑок бÑде зÑиÑано, дÑблÑкаÑи бÑдÑÑÑ Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ñ Ñа вÑн бÑде пеÑеÑвоÑений на `set`.
@@ -49,7 +49,7 @@
* `Decimal`:
* СÑандаÑÑний ÐайÑонÑвÑÑкий `Decimal`.
* У запиÑаÑ
Ñ Ð²ÑдповÑдÑÑ
Ñе бÑде обÑоблено Ñак Ñамо, Ñк Ñ `float`.
-* Ðи можеÑе пеÑевÑÑиÑи вÑÑ Ð´ÑйÑÐ½Ñ Ñипи даниÑ
Pydantic ÑÑÑ: Ñипи даниÑ
Pydantic.
+* Ðи можеÑе пеÑевÑÑиÑи вÑÑ Ð´ÑйÑÐ½Ñ Ñипи даниÑ
Pydantic ÑÑÑ: Ñипи даниÑ
Pydantic.
## ÐÑиклад
diff --git a/docs/vi/docs/features.md b/docs/vi/docs/features.md
index 306aeb3595..9edb1c8fa2 100644
--- a/docs/vi/docs/features.md
+++ b/docs/vi/docs/features.md
@@ -172,7 +172,7 @@ Vá»i **FastAPI**, bạn có ÄÆ°á»£c tất cả những tÃnh nÄng cá»§a **Sta
## TÃnh nÄng cá»§a Pydantic
-**FastAPI** tương thÃch Äầy Äá»§ vá»i (và dá»±a trên) Pydantic. Do Äó, bất kì code Pydantic nà o bạn thêm và o cÅ©ng sẽ hoạt Äá»ng.
+**FastAPI** tương thÃch Äầy Äá»§ vá»i (và dá»±a trên) Pydantic. Do Äó, bất kì code Pydantic nà o bạn thêm và o cÅ©ng sẽ hoạt Äá»ng.
Bao gá»m các thư viá»n bên ngoà i cÅ©ng dá»±a trên Pydantic, như ORMs, ODMs cho cÆ¡ sá» dữ liá»u.
diff --git a/docs/vi/docs/index.md b/docs/vi/docs/index.md
index a3dec4be74..3ade853e28 100644
--- a/docs/vi/docs/index.md
+++ b/docs/vi/docs/index.md
@@ -121,7 +121,7 @@ Python 3.8+
FastAPI Äứng trên vai những ngưá»i khá»ng lá»:
* Starlette cho phần web.
-* Pydantic cho phần data.
+* Pydantic cho phần data.
## Cà i Äặt
diff --git a/docs/vi/docs/python-types.md b/docs/vi/docs/python-types.md
index 4999caac34..b2a399aa5e 100644
--- a/docs/vi/docs/python-types.md
+++ b/docs/vi/docs/python-types.md
@@ -440,7 +440,7 @@ Nó không có nghÄ©a "`one_person`" là má»t **lá»p** gá»i là `Person`.
## Pydantic models
-Pydantic là má»t thư viá»n Python Äá» validate dữ liá»u hiá»u nÄng cao.
+Pydantic là má»t thư viá»n Python Äá» validate dữ liá»u hiá»u nÄng cao.
Bạn có thá» khai báo "hình dạng" cá»§a dữa liá»u như là các lá»p vá»i các thuá»c tÃnh.
@@ -471,14 +471,14 @@ Má»t và dụ từ tà i liá»u chÃnh thức cá»§a Pydantic:
```
!!! info
- Äá» há»c nhiá»u hÆ¡n vá» Pydantic, tham khảo tà i liá»u cá»§a nó.
+ Äá» há»c nhiá»u hÆ¡n vá» Pydantic, tham khảo tà i liá»u cá»§a nó.
**FastAPI** ÄÆ°á»£c dá»±a hoà n toà n trên Pydantic.
Bạn sẽ thấy nhiá»u và dụ thá»±c tế hÆ¡n trong [Hưá»ng dẫn sá» dụng](tutorial/index.md){.internal-link target=_blank}.
!!! tip
- Pydantic có má»t hà nh vi Äặc biá»t khi bạn sá» dụng `Optional` hoặc `Union[Something, None]` mà không có giá trá» mặc dá»nh, bạn có thá» Äá»c nhiá»u hÆ¡n vá» nó trong tà i liá»u cá»§a Pydantic vá» Required Optional fields.
+ Pydantic có má»t hà nh vi Äặc biá»t khi bạn sá» dụng `Optional` hoặc `Union[Something, None]` mà không có giá trá» mặc dá»nh, bạn có thá» Äá»c nhiá»u hÆ¡n vá» nó trong tà i liá»u cá»§a Pydantic vá» Required Optional fields.
## Type Hints vá»i Metadata Annotations
diff --git a/docs/yo/docs/index.md b/docs/yo/docs/index.md
index 9e844d44ea..5684f0a6a2 100644
--- a/docs/yo/docs/index.md
+++ b/docs/yo/docs/index.md
@@ -120,7 +120,7 @@ Python 3.8+
FastAPI dúró lórà à wá»n èjìká tà à wá»n òmÃrà n:
* Starlette fún à wá»n ẹÌyà ayélujára.
-* Pydantic fún à wá»n ẹÌyà à kójá»f'áyẹÌwò.
+* Pydantic fún à wá»n ẹÌyà à kójá»f'áyẹÌwò.
## Fifi sórà ẹrá»
diff --git a/docs/zh-hant/docs/index.md b/docs/zh-hant/docs/index.md
index eec12dfae0..9859d3c518 100644
--- a/docs/zh-hant/docs/index.md
+++ b/docs/zh-hant/docs/index.md
@@ -120,7 +120,7 @@ Python 3.8+
FastAPI æ¯ç«å¨ä»¥ä¸å·¨äººçè©èä¸ï¼
- Starlette è² è²¬ç¶²é çé¨å
-- Pydantic è² è²¬è³æçé¨å
+- Pydantic è² è²¬è³æçé¨å
## å®è£
diff --git a/docs/zh/docs/advanced/settings.md b/docs/zh/docs/advanced/settings.md
index 76070fb7fa..d793b9c7fd 100644
--- a/docs/zh/docs/advanced/settings.md
+++ b/docs/zh/docs/advanced/settings.md
@@ -127,7 +127,7 @@ Hello World from Python
## Pydantic ç `Settings`
-幸è¿çæ¯ï¼Pydantic æä¾äºä¸ä¸ªå¾å¥½çå·¥å
·æ¥å¤çæ¥èªç¯å¢åéç设置ï¼å³Pydantic: Settings managementã
+幸è¿çæ¯ï¼Pydantic æä¾äºä¸ä¸ªå¾å¥½çå·¥å
·æ¥å¤çæ¥èªç¯å¢åéç设置ï¼å³Pydantic: Settings managementã
### å建 `Settings` 对象
@@ -314,7 +314,7 @@ APP_NAME="ChimichangApp"
å¨è¿éï¼æä»¬å¨ Pydantic ç `Settings` ç±»ä¸å建äºä¸ä¸ªå为 `Config` çç±»ï¼å¹¶å° `env_file` 设置为æä»¬æ³è¦ä½¿ç¨ç dotenv æä»¶çæä»¶åã
!!! tip
- `Config` ç±»ä»
ç¨äº Pydantic é
ç½®ãæ¨å¯ä»¥å¨Pydantic Model Configä¸é
读æ´å¤ç¸å
³ä¿¡æ¯ã
+ `Config` ç±»ä»
ç¨äº Pydantic é
ç½®ãæ¨å¯ä»¥å¨Pydantic Model Configä¸é
读æ´å¤ç¸å
³ä¿¡æ¯ã
### ä½¿ç¨ `lru_cache` ä»
åå»ºä¸æ¬¡ `Settings`
diff --git a/docs/zh/docs/features.md b/docs/zh/docs/features.md
index 9fba24814d..d8190032f6 100644
--- a/docs/zh/docs/features.md
+++ b/docs/zh/docs/features.md
@@ -179,7 +179,7 @@ FastAPI æä¸ä¸ªä½¿ç¨é常ç®åï¼ä½æ¯é常强大ç