- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 144 for body (0.21 sec)
-
docs/de/docs/tutorial/schema-extra-example.md
* `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` können Sie auch eine Gruppe von `examples` mit zusätzlichen Informationen deklarieren, die zu ihren **JSON-Schemas** innerhalb von **OpenAPI** hinzugefügt werden. ### `Body` mit `examples` Hier übergeben wir `examples`, welches ein einzelnes Beispiel für die in `Body()` erwarteten Daten enthält: === "Python 3.10+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:19:53 GMT 2024 - 13.3K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
When using any of: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**. ### `Body` with `examples` Here we pass `examples` containing one example of the data expected in `Body()`: === "Python 3.10+" ```Python hl_lines="22-29"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
### Use the `RequestValidationError` body The `RequestValidationError` contains the `body` it received with invalid data. You could use it while developing your app to log the body and debug it, return it to the user, etc. ```Python hl_lines="14" {!../../../docs_src/handling_errors/tutorial005.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/es/docs/features.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-forms-and-files.md
```Python hl_lines="1" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## Defina parâmetros de `File` e `Form` Crie parâmetros de arquivo e formulário da mesma forma que você faria para `Body` ou `Query`: ```Python hl_lines="8" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.4K 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/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/zh/docs/tutorial/schema-extra-example.md
{!> ../../../docs_src/schema_extra_example/tutorial002.py!} ``` !!! warning 请记住,传递的那些额外参数不会添加任何验证,只会添加注释,用于文档的目的。 ## `Body` 额外参数 你可以通过传递额外信息给 `Field` 同样的方式操作`Path`, `Query`, `Body`等。 比如,你可以将请求体的一个 `example` 传递给 `Body`: === "Python 3.10+" ```Python hl_lines="22-27" {!> ../../../docs_src/schema_extra_example/tutorial003_an_py310.py!} ``` === "Python 3.9+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/em/docs/tutorial/request-forms-and-files.md
``` ## 🔬 `File` & `Form` 🔢 ✍ 📁 & 📨 🔢 🎏 🌌 👆 🔜 `Body` ⚖️ `Query`: ```Python hl_lines="8" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` 📁 & 📨 🏑 🔜 📂 📨 📊 & 👆 🔜 📨 📁 & 📨 🏑. & 👆 💪 📣 📁 `bytes` & `UploadFile`. !!! warning
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.1K 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)