- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for 24 (0.19 sec)
-
docs/zh/docs/advanced/testing-events.md
# 测试事件:启动 - 关闭 使用 `TestClient` 和 `with` 语句,在测试中运行事件处理器(`startup` 与 `shutdown`)。 ```Python hl_lines="9-12 20-24" {!../../../docs_src/app_testing/tutorial003.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 18:21:02 GMT 2024 - 228 bytes - Viewed (0) -
docs/en/docs/advanced/testing-events.md
# Testing Events: startup - shutdown When you need your event handlers (`startup` and `shutdown`) to run in your tests, you can use the `TestClient` with a `with` statement: ```Python hl_lines="9-12 20-24" {!../../../docs_src/app_testing/tutorial003.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 29 14:02:58 GMT 2020 - 262 bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
{!> ../../../docs_src/response_model/tutorial003.py!} ``` 这样,即便我们的*路径操作函数*将会返回包含密码的相同输入用户: === "Python 3.10+" ```Python hl_lines="24" {!> ../../../docs_src/response_model/tutorial003_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="24" {!> ../../../docs_src/response_model/tutorial003.py!} ``` ...我们已经将 `response_model` 声明为了不包含密码的 `UserOut` 模型: === "Python 3.10+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
代わりに、平文のパスワードを持つ入力モデルと、パスワードを持たない出力モデルを作成することができます: ```Python hl_lines="9 11 16" {!../../../docs_src/response_model/tutorial003.py!} ``` ここでは、*path operation関数*がパスワードを含む同じ入力ユーザーを返しているにもかかわらず: ```Python hl_lines="24" {!../../../docs_src/response_model/tutorial003.py!} ``` ...`response_model`を`UserOut`と宣言したことで、パスワードが含まれていません: ```Python hl_lines="22" {!../../../docs_src/response_model/tutorial003.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/sub-dependencies.md
``` === "Python 3.9+" ```Python hl_lines="23" {!> ../../../docs_src/dependencies/tutorial005_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="24" {!> ../../../docs_src/dependencies/tutorial005_an.py!} ``` === "Python 3.10 nicht annotiert" !!! tip "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:09:48 GMT 2024 - 6.3K bytes - Viewed (0) -
docs/em/docs/advanced/nosql-databases.md
```Python hl_lines="12-21" {!../../../docs_src/nosql_databases/tutorial001.py!} ``` ## ✍ Pydantic 🏷 **🗄** "📄" 🤙 "🎻 🎚", 👥 💪 🏷 👫 ⏮️ Pydantic. ### `User` 🏷 🥇, ➡️ ✍ `User` 🏷: ```Python hl_lines="24-28" {!../../../docs_src/nosql_databases/tutorial001.py!} ``` 👥 🔜 ⚙️ 👉 🏷 👆 *➡ 🛠️ 🔢*,, 👥 🚫 🔌 ⚫️ `hashed_password`. ### `UserInDB` 🏷 🔜, ➡️ ✍ `UserInDB` 🏷. 👉 🔜 ✔️ 💽 👈 🤙 🏪 💽.
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4.8K bytes - Viewed (0) -
docs/de/docs/how-to/extending-openapi.md
``` ### Das OpenAPI-Schema ändern Jetzt können Sie die ReDoc-Erweiterung hinzufügen und dem `info`-„Objekt“ im OpenAPI-Schema ein benutzerdefiniertes `x-logo` hinzufügen: ```Python hl_lines="22-24" {!../../../docs_src/extending_openapi/tutorial001.py!} ``` ### Zwischenspeichern des OpenAPI-Schemas Sie können die Eigenschaft `.openapi_schema` als „Cache“ verwenden, um Ihr generiertes Schema zu speichern.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 14 16:44:05 GMT 2024 - 3.7K bytes - Viewed (0) -
docs/en/docs/how-to/nosql-databases-couchbase.md
``` ## Create Pydantic models As **Couchbase** "documents" are actually just "JSON objects", we can model them with Pydantic. ### `User` model First, let's create a `User` model: ```Python hl_lines="24-28" {!../../../docs_src/nosql_databases/tutorial001.py!} ``` We will use this model in our *path operation function*, so, we don't include in it the `hashed_password`. ### `UserInDB` model
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 6K bytes - Viewed (0) -
docs/de/docs/advanced/testing-events.md
# Events testen: Hochfahren – Herunterfahren Wenn Sie in Ihren Tests Ihre Event-Handler (`startup` und `shutdown`) ausführen wollen, können Sie den `TestClient` mit einer `with`-Anweisung verwenden: ```Python hl_lines="9-12 20-24" {!../../../docs_src/app_testing/tutorial003.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:40 GMT 2024 - 291 bytes - Viewed (0) -
docs/em/docs/advanced/testing-events.md
# 🔬 🎉: 🕴 - 🤫 🕐❔ 👆 💪 👆 🎉 🐕🦺 (`startup` & `shutdown`) 🏃 👆 💯, 👆 💪 ⚙️ `TestClient` ⏮️ `with` 📄: ```Python hl_lines="9-12 20-24" {!../../../docs_src/app_testing/tutorial003.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 248 bytes - Viewed (0)