- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 871 for tutorial001 (0.09 sec)
-
docs/en/docs/tutorial/path-params-numeric-validations.md
``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="3" {!> ../../docs_src/path_params_numeric_validations/tutorial001.py!} ``` //// /// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0. If you have an older version, you would get errors when trying to use `Annotated`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.8K bytes - Viewed (0) -
docs/em/docs/how-to/custom-request-and-route.md
{!../../docs_src/custom_request_and_route/tutorial002.py!} ``` 🚥 ⚠ 📉, `Request` 👐 🔜 ↔, 👥 💪 ✍ & ⚒ ⚙️ 📨 💪 🕐❔ 🚚 ❌: ```Python hl_lines="16-18" {!../../docs_src/custom_request_and_route/tutorial002.py!} ``` ## 🛃 `APIRoute` 🎓 📻 👆 💪 ⚒ `route_class` 🔢 `APIRouter`: ```Python hl_lines="26" {!../../docs_src/custom_request_and_route/tutorial003.py!} ```
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/de/docs/tutorial/body-nested-models.md
```Python hl_lines="12" {!> ../../docs_src/body_nested_models/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="14" {!> ../../docs_src/body_nested_models/tutorial001.py!} ``` //// Das bewirkt, dass `tags` eine Liste ist, wenngleich es nichts über den Typ der Elemente der Liste aussagt. ## Listen mit Typ-Parametern als Felder
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/classes-as-dependencies.md
```Python hl_lines="11-15" {!> ../../docs_src/dependencies/tutorial002.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="9-13" {!> ../../docs_src/dependencies/tutorial002_py310.py!} ``` //// 💸 🙋 `__init__` 👩🔬 ⚙️ ✍ 👐 🎓: //// tab | 🐍 3️⃣.6️⃣ & 🔛 ```Python hl_lines="12" {!> ../../docs_src/dependencies/tutorial002.py!} ``` ////
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
import importlib from fastapi.testclient import TestClient from ...utils import needs_pydanticv2 def get_client() -> TestClient: from docs_src.conditional_openapi import tutorial001 importlib.reload(tutorial001) client = TestClient(tutorial001.app) return client @needs_pydanticv2 def test_disable_openapi(monkeypatch): monkeypatch.setenv("OPENAPI_URL", "") # Load the client after setting the env var
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.8K bytes - Viewed (0) -
docs/de/docs/how-to/custom-request-and-route.md
```Python hl_lines="13 15" {!../../docs_src/custom_request_and_route/tutorial002.py!} ``` Wenn eine Exception auftritt, befindet sich die `Request`-Instanz weiterhin im Gültigkeitsbereich, sodass wir den Requestbody lesen und bei der Fehlerbehandlung verwenden können: ```Python hl_lines="16-18" {!../../docs_src/custom_request_and_route/tutorial002.py!} ``` ## Benutzerdefinierte `APIRoute`-Klasse in einem Router
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/pt/docs/how-to/extending-openapi.md
```Python hl_lines="1 4 7-9" {!../../docs_src/extending_openapi/tutorial001.py!} ``` ### Gerar o esquema OpenAPI Em seguida, use a mesma função utilitária para gerar o esquema OpenAPI, dentro de uma função `custom_openapi()`: ```Python hl_lines="2 15-21" {!../../docs_src/extending_openapi/tutorial001.py!} ``` ### Modificar o esquema OpenAPI
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:40:08 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/ko/docs/python-types.md
간단한 예제부터 시작해봅시다: ```Python {!../../docs_src/python_types/tutorial001.py!} ``` 이 프로그램을 실행한 결과값: ``` John Doe ``` 함수는 아래와 같이 실행됩니다: * `first_name`과 `last_name`를 받습니다. * `title()`로 각 첫 문자를 대문자로 변환시킵니다. * 두 단어를 중간에 공백을 두고 <abbr title="두 개를 하나로 차례차례 이어지게 하다">연결</abbr>합니다. ```Python hl_lines="2" {!../../docs_src/python_types/tutorial001.py!} ``` ### 코드 수정 이건 매우 간단한 프로그램입니다.
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/ru/docs/tutorial/body.md
```Python hl_lines="4" {!../../docs_src/body/tutorial001.py!} ``` ## Создание вашей собственной модели После этого вы описываете вашу модель данных как класс, наследующий от `BaseModel`. Используйте аннотации типов Python для всех атрибутов: ```Python hl_lines="7-11" {!../../docs_src/body/tutorial001.py!} ```
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001.py!} ``` //// Этот код состояния будет использован в ответе и будет добавлен в схему OpenAPI. /// note | "Технические детали" Вы также можете использовать `from starlette import status`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.9K bytes - Viewed (0)