- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 871 for tutorial001 (0.11 sec)
-
docs/fr/docs/advanced/response-directly.md
Pour ces cas, vous pouvez spécifier un appel à `jsonable_encoder` pour convertir vos données avant de les passer à une réponse : ```Python hl_lines="6-7 21-22" {!../../docs_src/response_directly/tutorial001.py!} ``` /// note | "Détails techniques" Vous pouvez aussi utiliser `from starlette.responses import JSONResponse`.
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/pt/docs/how-to/graphql.md
Aqui está uma pequena prévia de como você poderia integrar Strawberry com FastAPI: ```Python hl_lines="3 22 25-26" {!../../docs_src/graphql/tutorial001.py!} ``` Você pode aprender mais sobre Strawberry na <a href="https://strawberry.rocks/" class="external-link" target="_blank">documentação do Strawberry</a>.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
``` //// //// tab | Python 3.8+ nicht annotiert /// tip | "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. /// ```Python hl_lines="10" {!> ../../docs_src/security/tutorial001.py!} ``` //// Aber das ist immer noch nicht so nützlich. Lassen wir es uns den aktuellen Benutzer überreichen. ## Ein Benutzermodell erstellen Erstellen wir zunächst ein Pydantic-Benutzermodell.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
```Python hl_lines="10" {!../../docs_src/security/tutorial001.py!} ``` 그러나 아직도 유용하지 않습니다. 현재 사용자를 제공하도록 합시다. ## 유저 모델 생성하기 먼저 Pydantic 유저 모델을 만들어 보겠습니다. Pydantic을 사용하여 본문을 선언하는 것과 같은 방식으로 다른 곳에서 사용할 수 있습니다. //// tab | 파이썬 3.7 이상 ```Python hl_lines="5 12-16" {!> ../../docs_src/security/tutorial002.py!} ``` //// //// tab | 파이썬 3.10 이상
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
//// tab | Python ```Python {!> ../../docs_src/generate_clients/tutorial004.py!} ``` //// //// tab | Node.js ```Javascript {!> ../../docs_src/generate_clients/tutorial004.js!} ``` ////
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/metadata.md
```Python hl_lines="3-16 18" {!../../docs_src/metadata/tutorial004.py!} ``` 注意你可以在描述内使用 Markdown,例如「login」会显示为粗体(**login**)以及「fancy」会显示为斜体(_fancy_)。 /// tip | "提示" 不必为你使用的所有标签都添加元数据。 /// ### 使用你的标签 将 `tags` 参数和*路径操作*(以及 `APIRouter`)一起使用,将其分配给不同的标签: ```Python hl_lines="21 26" {!../../docs_src/metadata/tutorial004.py!} ``` /// info | "信息"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/de/docs/tutorial/metadata.md
Sie können diese wie folgt setzen: ```Python hl_lines="3-16 19-32" {!../../docs_src/metadata/tutorial001.py!} ``` /// tip | "Tipp" Sie können Markdown in das Feld `description` schreiben und es wird in der Ausgabe gerendert. ///
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
Par exemple, pour déclarer une autre réponse avec un code HTTP `404` et un modèle Pydantic `Message`, vous pouvez écrire : ```Python hl_lines="18 22" {!../../docs_src/additional_responses/tutorial001.py!} ``` /// note | "Remarque" Gardez à l'esprit que vous devez renvoyer directement `JSONResponse`. /// /// info La clé `model` ne fait pas partie d'OpenAPI.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
```Python hl_lines="17" {!../../docs_src/path_params/tutorial005.py!} ``` #### Récupérer la *valeur de l'énumération* Vous pouvez obtenir la valeur réel d'un membre (une chaîne de caractères ici), avec `model_name.value`, ou en général, `votre_membre_d'enum.value` : ```Python hl_lines="20" {!../../docs_src/path_params/tutorial005.py!} ``` /// tip | "Astuce"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
```Python hl_lines="13-23" {!> ../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!} ``` //// //// tab | Python 3.8+ Pydantic v2 ```Python hl_lines="15-26" {!> ../../docs_src/schema_extra_example/tutorial001.py!} ``` //// //// tab | Python 3.8+ Pydantic v1 ```Python hl_lines="15-25" {!> ../../docs_src/schema_extra_example/tutorial001_pv1.py!} ``` ////
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.6K bytes - Viewed (0)