- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 924 for docs_src (0.03 sec)
-
docs/ja/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial005.py hl[16] *} ### ドキュメントの確認 *パスパラメータ*の利用可能な値が事前に定義されているので、対話的なドキュメントで適切に表示できます: <img src="/img/tutorial/path-params/image03.png"> ### Python*列挙型*の利用 *パスパラメータ*の値は*列挙型メンバ*となります。 #### *列挙型メンバ*の比較 これは、作成した列挙型 `ModelName` の*列挙型メンバ*と比較できます: {* ../../docs_src/path_params/tutorial005.py hl[17] *} #### *列挙値*の取得Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/ko/docs/how-to/configure-swagger-ui.md
그러나 `syntaxHighlight`를 `False`로 설정하여 구문 강조 기능을 비활성화할 수 있습니다: {* ../../docs_src/configure_swagger_ui/tutorial001.py hl[3] *} ...그럼 Swagger UI에서 더 이상 구문 강조 기능이 표시되지 않습니다: <img src="/img/tutorial/extending-openapi/image03.png"> ## 테마 변경 동일한 방식으로 `"syntaxHighlight.theme"` 키를 사용하여 구문 강조 테마를 설정할 수 있습니다 (중간에 점이 포함된 것을 참고하십시오). {* ../../docs_src/configure_swagger_ui/tutorial002.py hl[3] *} 이 설정은 구문 강조 색상 테마를 변경합니다:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:25:19 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/sub-dependencies.md
**FastAPI** kümmert sich darum, sie aufzulösen. ## Erste Abhängigkeit, „Dependable“ { #first-dependency-dependable } Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} Diese deklariert einen optionalen Query-Parameter `q` vom Typ `str` und gibt ihn dann einfach zurück.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
永远不要存储用户的明文密码,也不要在响应中发送密码。 /// ## 添加输出模型 相反,我们可以创建一个有明文密码的输入模型和一个没有明文密码的输出模型: {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} 这样,即便我们的*路径操作函数*将会返回包含密码的相同输入用户: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...我们已经将 `response_model` 声明为了不包含密码的 `UserOut` 模型: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *} 因此,**FastAPI** 将会负责过滤掉未在输出模型中声明的所有数据(使用 Pydantic)。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
**FastAPI** will take care of solving them. ## First dependency "dependable" { #first-dependency-dependable } You could create a first dependency ("dependable") like: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} It declares an optional query parameter `q` as a `str`, and then it just returns it.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
/// ## Multiple models { #multiple-models } Here's a general idea of how the models could look like with their password fields and the places where they are used: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *} ### About `**user_in.model_dump()` { #about-user-in-model-dump } #### Pydantic's `.model_dump()` { #pydantics-model-dump }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
All we need to do is handle the request inside a `try`/`except` block: {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *} If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error: {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/get-current-user.md
{* ../../docs_src/security/tutorial002_an_py310.py hl[25] *} ## Obter o usuário { #get-the-user } `get_current_user` usará uma função utilitária (falsa) que criamos, que recebe um token como uma `str` e retorna nosso modelo Pydantic `User`: {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial001_py39.py hl[7] *} Это функция на Python. **FastAPI** будет вызывать её каждый раз, когда получает запрос к URL «`/`» с операцией `GET`. В данном случае это асинхронная (`async`) функция. --- Вы также можете определить её как обычную функцию вместо `async def`: {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/first-steps.md
## 分步概括 ### 步骤 1:导入 `FastAPI` {* ../../docs_src/first_steps/tutorial001.py hl[1] *} `FastAPI` 是一个为你的 API 提供了所有功能的 Python 类。 /// note | 技术细节 `FastAPI` 是直接从 `Starlette` 继承的类。 你可以通过 `FastAPI` 使用所有的 <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> 的功能。 /// ### 步骤 2:创建一个 `FastAPI`「实例」 {* ../../docs_src/first_steps/tutorial001.py hl[3] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 10.5K bytes - Viewed (0)