- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for embody (0.19 sec)
-
docs/fr/docs/index.md
* Puisque le paramètre `q` est déclaré avec `= None`, il est facultatif. * Sans le `None`, il serait nécessaire (comme l'est <abbr title="en anglais : body">le corps</abbr> de la requête dans le cas du `PUT`). * Pour les requêtes `PUT` vers `/items/{item_id}`, de lire <abbr title="en anglais : body">le corps</abbr> en <abbr title="JavaScript Object Notation">JSON</abbr> : * Vérifier qu'il a un attribut obligatoire `name` qui devrait être un `str`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 22K bytes - Viewed (0) -
docs/tr/docs/index.md
![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ## Örneği Güncelleyelim Şimdi `main.py` dosyasını, `PUT` isteğiyle birlikte bir gövde alacak şekilde değiştirelim. <abbr title="Gövde: Body">Gövde</abbr>yi Pydantic sayesinde standart python tiplerini kullanarak tanımlayalım. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/es/docs/index.md
![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ## Mejora al ejemplo Ahora modifica el archivo `main.py` para recibir un <abbr title="cuerpo del mensaje HTTP">body</abbr> del `PUT` request. Declara el body usando las declaraciones de tipo estándares de Python gracias a Pydantic. ```Python hl_lines="2 7-10 23-25" from fastapi import FastAPI from pydantic import BaseModel from typing import Union
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19K bytes - Viewed (0) -
docs/hu/docs/index.md
![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ## Példa frissítése Módosítsuk a `main.py` fájlt, hogy `PUT` kérések esetén tudjon body-t fogadni. Deklaráld a body-t standard Python típusokkal, a Pydantic-nak köszönhetően. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 20.2K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/index.md
{!> ../../../docs_src/dependencies/tutorial001.py!} ``` ### Deklarieren der Abhängigkeit im <abbr title="Das Abhängige, der Verwender der Abhängigkeit">„Dependant“</abbr> So wie auch `Body`, `Query`, usw., verwenden Sie `Depends` mit den Parametern Ihrer *Pfadoperation-Funktion*: === "Python 3.10+" ```Python hl_lines="13 18" {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:10 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/dependencies/index.md
```Python hl_lines="3" {!../../../docs_src/dependencies/tutorial001.py!} ``` ### "dependant"での依存関係の宣言 *path operation関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます: ```Python hl_lines="13 18" {!../../../docs_src/dependencies/tutorial001.py!} ``` 関数のパラメータに`Depends`を使用するのは`Body`や`Query`などと同じですが、`Depends`の動作は少し異なります。 `Depends`は1つのパラメータしか与えられません。 このパラメータは関数のようなものである必要があります。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 15 16:08:16 GMT 2024 - 9.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/index.md
```Python hl_lines="3" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` ### Объявите зависимость в "зависимом" Точно так же, как вы использовали `Body`, `Query` и т.д. с вашей *функцией обработки пути* для параметров, используйте `Depends` с новым параметром: === "Python 3.10+" ```Python hl_lines="13 18"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.7K bytes - Viewed (0) -
docs/vi/docs/index.md
![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ## Nâng cấp ví dụ Bây giờ sửa tệp tin `main.py` để nhận body từ một request `PUT`. Định nghĩa của body sử dụng kiểu dữ liệu chuẩn của Python, cảm ơn Pydantic. ```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/index.md
``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="1" {!> ../../../docs_src/dependencies/tutorial001_py310.py!} ``` ### 📣 🔗, "⚓️" 🎏 🌌 👆 ⚙️ `Body`, `Query`, ♒️. ⏮️ 👆 *➡ 🛠️ 🔢* 🔢, ⚙️ `Depends` ⏮️ 🆕 🔢: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="15 20" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 6.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
```Python hl_lines="3" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` ### Declare the dependency, in the "dependant" The same way you use `Body`, `Query`, etc. with your *path operation function* parameters, use `Depends` with a new parameter: === "Python 3.10+" ```Python hl_lines="13 18" {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0)