- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 334 for Tip (0.12 sec)
-
docs/em/docs/tutorial/metadata.md
👆 💪 ⚒ 👫 ⏩: ```Python hl_lines="3-16 19-31" {!../../../docs_src/metadata/tutorial001.py!} ``` !!! tip 👆 💪 ✍ ✍ `description` 🏑 & ⚫️ 🔜 ✍ 🔢. ⏮️ 👉 📳, 🏧 🛠️ 🩺 🔜 👀 💖: <img src="/img/tutorial/metadata/image01.png"> ## 🗃 🔖 👆 💪 🚮 🌖 🗃 🎏 🔖 ⚙️ 👪 👆 ➡ 🛠️ ⏮️ 🔢 `openapi_tags`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
``` === "Python 3.10+ non-Annotated" !!! tip Заметка Рекомендуется использовать версию с `Annotated`, если это возможно. ```Python hl_lines="18-23" {!> ../../../docs_src/schema_extra_example/tutorial003_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Заметка Рекомендуется использовать версию с `Annotated`, если это возможно.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
!!! tip "豆知識" それでも、これらのパラメータではなく、複数のクラスを使用して、上記のようなアイデアを使うことをおすすめします。 これは`response_model_include`や`response_mode_exclude`を使用していくつかの属性を省略しても、アプリケーションのOpenAPI(とドキュメント)で生成されたJSON Schemaが完全なモデルになるからです。 同様に動作する`response_model_by_alias`にも当てはまります。 ```Python hl_lines="31 37" {!../../../docs_src/response_model/tutorial005.py!} ``` !!! tip "豆知識"
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/advanced/async-tests.md
</div> ## Details Der Marker `@pytest.mark.anyio` teilt pytest mit, dass diese Testfunktion asynchron aufgerufen werden soll: ```Python hl_lines="7" {!../../../docs_src/async_tests/test_main.py!} ``` !!! tip "Tipp" Beachten Sie, dass die Testfunktion jetzt `async def` ist und nicht nur `def` wie zuvor, wenn Sie den `TestClient` verwenden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:25:57 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
FastAPI will use this `response_model` to do all the data documentation, validation, etc. and also to **convert and filter the output data** to its type declaration. !!! tip If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
docs/zh/docs/advanced/using-request-directly.md
假设要在*路径操作函数*中获取客户端 IP 地址和主机。 此时,需要直接访问请求。 ```Python hl_lines="1 7-8" {!../../../docs_src/using_request_directly/tutorial001.py!} ``` 把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。 !!! tip "提示" 注意,本例除了声明请求参数之外,还声明了路径参数。 因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。 同样,您也可以正常声明其它参数,而且还可以提取 `Request`。 ## `Request` 文档
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:44:02 GMT 2024 - 2K bytes - Viewed (0) -
docs/zh/docs/advanced/advanced-dependencies.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 18:26:57 GMT 2024 - 2K bytes - Viewed (0) -
docs/de/docs/advanced/websockets.md
``` === "Python 3.10+ nicht annotiert" !!! tip "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="66-67 79" {!> ../../../docs_src/websockets/tutorial002_py310.py!} ``` === "Python 3.8+ 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 20:17:58 GMT 2024 - 6.9K bytes - Viewed (0) -
docs/es/docs/advanced/response-directly.md
Esto puede ser útil, por ejemplo, para devolver cookies o headers personalizados. ## Devolver una `Response` De hecho, puedes devolver cualquier `Response` o cualquier subclase de la misma. !!! tip "Consejo" `JSONResponse` en sí misma es una subclase de `Response`. Y cuando devuelves una `Response`, **FastAPI** la pasará directamente.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 11:57:27 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/zh/docs/advanced/testing-dependencies.md
{!../../../docs_src/dependency_testing/tutorial001.py!} ``` !!! tip "提示" **FastAPI** 应用中的任何位置都可以实现覆盖依赖项。 原依赖项可用于*路径操作函数*、*路径操作装饰器*(不需要返回值时)、`.include_router()` 调用等。 FastAPI 可以覆盖这些位置的依赖项。 然后,使用 `app.dependency_overrides` 把覆盖依赖项重置为空**字典**: ```Python app.dependency_overrides = {} ``` !!! tip "提示"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:45:53 GMT 2024 - 1.9K bytes - Viewed (0)