- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 871 for tutorial001 (0.15 sec)
-
docs/pt/docs/advanced/openapi-webhooks.md
```Python hl_lines="9-13 36-53" {!../../docs_src/openapi_webhooks/tutorial001.py!} ``` Os webhooks que você define aparecerão no esquema do **OpenAPI** e na **página de documentação** gerada automaticamente. /// info | "Informação"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
Here's a small preview of how you could integrate Strawberry with FastAPI: ```Python hl_lines="3 22 25-26" {!../../docs_src/graphql/tutorial001.py!} ``` You can learn more about Strawberry in the <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry documentation</a>.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/encoder.md
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
```Python hl_lines="13-21" {!> ../../docs_src/schema_extra_example/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="15-23" {!> ../../docs_src/schema_extra_example/tutorial001.py!} ``` //// Эта дополнительная информация будет включена в **JSON Schema** выходных данных для этой модели, и она будет использоваться в документации к API. /// tip | Подсказка
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/pt/docs/advanced/using-request-directly.md
Para isso você precisa acessar a requisição diretamente. ```Python hl_lines="1 7-8" {!../../docs_src/using_request_directly/tutorial001.py!} ``` Ao declarar o parâmetro com o tipo sendo um `Request` em sua *função de operação de rota*, o **FastAPI** saberá como passar o `Request` neste parâmetro. /// tip | "Dica"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/ja/docs/tutorial/security/first-steps.md
**FastAPI**が提供するツールを使って、セキュリティを制御してみましょう。 ## どう見えるか まずはこのコードを使って、どう動くか観察します。その後で、何が起こっているのか理解しましょう。 ## `main.py`を作成 `main.py`に、下記の例をコピーします: ```Python {!../../docs_src/security/tutorial001.py!} ``` ## 実行 /// info | "情報" まず<a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>をインストールします。 例えば、`pip install python-multipart`。
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/de/docs/how-to/graphql.md
Hier ist eine kleine Vorschau, wie Sie Strawberry mit FastAPI integrieren können: ```Python hl_lines="3 22 25-26" {!../../docs_src/graphql/tutorial001.py!} ``` Weitere Informationen zu Strawberry finden Sie in der <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry-Dokumentation</a>.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
```Python hl_lines="4 11 15-18" {!../../docs_src/templates/tutorial001.py!} ``` /// note Before FastAPI 0.108.0, Starlette 0.29.0, the `name` was the first parameter.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/zh/docs/advanced/templates.md
* 创建可复用的 `templates` 对象 * 在返回模板的*路径操作*中声明 `Request` 参数 * 使用 `templates` 渲染并返回 `TemplateResponse`, 传递模板的名称、request对象以及一个包含多个键值对(用于Jinja2模板)的"context"字典, ```Python hl_lines="4 11 15-16" {!../../docs_src/templates/tutorial001.py!} ``` /// note | "笔记" 在FastAPI 0.108.0,Starlette 0.29.0之前,`name`是第一个参数。 并且,在此之前,`request`对象是作为context的一部分以键值对的形式传递的。 /// /// tip | "提示"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from tests.utils import needs_py39, needs_py310 @pytest.fixture( name="client", params=[ "tutorial001", pytest.param("tutorial001_py39", marks=needs_py39), pytest.param("tutorial001_py310", marks=needs_py310), "tutorial001_an", pytest.param("tutorial001_an_py39", marks=needs_py39),
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0)