- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 877 for tutorial002 (0.12 sec)
-
docs/de/docs/tutorial/body-updates.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/zh/docs/advanced/custom-response.md
```Python hl_lines="1 18" {!../../docs_src/response_directly/tutorial002.py!} ``` ### `HTMLResponse` 如上文所述,接受文本或字节并返回 HTML 响应。 ### `PlainTextResponse` 接受文本或字节并返回纯文本响应。 ```Python hl_lines="2 7 9" {!../../docs_src/custom_response/tutorial005.py!} ``` ### `JSONResponse` 接受数据并返回一个 `application/json` 编码的响应。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params.md
//// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/query_params/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/query_params/tutorial002.py!} ``` //// In diesem Fall wird der Funktionsparameter `q` optional, und standardmäßig `None` sein. /// check
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
//// //// tab | Python 3.8+ nicht annotiert /// tip | "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. /// ```Python hl_lines="11-15" {!> ../../docs_src/dependencies/tutorial002.py!} ``` //// Achten Sie auf die Methode `__init__`, die zum Erstellen der Instanz der Klasse verwendet wird: //// tab | Python 3.10+ ```Python hl_lines="12"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="5 12-16" {!> ../../docs_src/security/tutorial002.py!} ``` //// ## Create a `get_current_user` dependency Let's create a dependency `get_current_user`. Remember that dependencies can have sub-dependencies?
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
//// tab | Python 3.6+ без Annotated /// tip | "Подсказка" Рекомендуется использовать версию с `Annotated` если возможно. /// ```Python hl_lines="11-15" {!> ../../docs_src/dependencies/tutorial002.py!} ``` //// Обратите внимание на метод `__init__`, используемый для создания экземпляра класса: //// tab | Python 3.10+ ```Python hl_lines="12"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 16K bytes - Viewed (0) -
docs/em/docs/how-to/custom-request-and-route.md
{!../../docs_src/custom_request_and_route/tutorial002.py!} ``` 🚥 ⚠ 📉, `Request` 👐 🔜 ↔, 👥 💪 ✍ & ⚒ ⚙️ 📨 💪 🕐❔ 🚚 ❌: ```Python hl_lines="16-18" {!../../docs_src/custom_request_and_route/tutorial002.py!} ``` ## 🛃 `APIRoute` 🎓 📻 👆 💪 ⚒ `route_class` 🔢 `APIRouter`: ```Python hl_lines="26" {!../../docs_src/custom_request_and_route/tutorial003.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/em/docs/advanced/custom-response.md
```Python hl_lines="1 18" {!../../docs_src/response_directly/tutorial002.py!} ``` ### `HTMLResponse` ✊ ✍ ⚖️ 🔢 & 📨 🕸 📨, 👆 ✍ 🔛. ### `PlainTextResponse` ✊ ✍ ⚖️ 🔢 & 📨 ✅ ✍ 📨. ```Python hl_lines="2 7 9" {!../../docs_src/custom_response/tutorial005.py!} ``` ### `JSONResponse` ✊ 💽 & 📨 `application/json` 🗜 📨.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-updates.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 14 09:16:06 UTC 2024 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
//// tab | Python 3.9+ ```Python hl_lines="34" {!> ../../docs_src/body_updates/tutorial002_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="34" {!> ../../docs_src/body_updates/tutorial002.py!} ``` //// ### Using Pydantic's `update` parameter Now, you can create a copy of the existing model using `.model_copy()`, and pass the `update` parameter with a `dict` containing the data to update.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0)