- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 301 for tutorial001_an_py310 (0.17 seconds)
-
tests/test_tutorial/test_dependencies/test_tutorial001_tutorial001_02.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py39"), pytest.param("tutorial001_an_py310", marks=needs_py310), pytest.param("tutorial001_02_an_py39"), pytest.param("tutorial001_02_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 7K bytes - Click Count (0) -
docs/en/docs/advanced/additional-status-codes.md
To achieve that, import `JSONResponse`, and return your content there directly, setting the `status_code` that you want: {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *} /// warning When you return a `Response` directly, like in the example above, it will be returned directly. It won't be serialized with a model, etc.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2K bytes - Click Count (0) -
docs/ru/docs/advanced/testing-dependencies.md
Тогда **FastAPI** будет вызывать это переопределение вместо исходной зависимости. {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip | Совет Вы можете задать переопределение для зависимости, используемой в любом месте вашего приложения **FastAPI**.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-param-models.md
/// note FastAPI 從 `0.115.0` 版本開始支援這個特性。🤓 /// ## 使用 Pydantic 模型的查詢參數 在一個 **Pydantic 模型**中聲明你需要的**查詢參數**,然後將參數聲明為 `Query`: {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *} **FastAPI** 將會從請求的**查詢參數**中**提取**出**每個欄位**的資料,並將其提供給你定義的 Pydantic 模型。 ## 查看文件 你可以在 `/docs` 頁面的 UI 中查看查詢參數: <div class="screenshot">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 27 22:14:10 GMT 2024 - 2K bytes - Click Count (0) -
docs/ko/docs/tutorial/query-param-models.md
/// note | 참고 이 기능은 FastAPI 버전 `0.115.0`부터 제공됩니다. 🤓 /// ## 쿼리 매개변수와 Pydantic 모델 필요한 **쿼리 매개변수**를 **Pydantic 모델** 안에 선언한 다음, 모델을 `Query`로 선언합니다. {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *} **FastAPI**는 요청의 **쿼리 매개변수**에서 **각 필드**의 데이터를 **추출**해 정의한 Pydantic 모델로 제공합니다. ## 문서 확인하기 `/docs` 경로의 API 문서에서 매개변수를 확인할 수 있습니다. <div class="screenshot">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 20 19:24:08 GMT 2024 - 2.3K bytes - Click Count (0) -
docs/uk/docs/tutorial/path-params-numeric-validations.md
## Імпорт Path Спочатку імпортуйте `Path` з `fastapi` і імпортуйте `Annotated`: {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *} /// info | Інформація FastAPI додав підтримку `Annotated` (і почав рекомендувати його використання) у версії 0.95.0.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 16:27:21 GMT 2025 - 9.7K bytes - Click Count (0) -
docs/fr/docs/tutorial/body-multiple-params.md
Vous pouvez également déclarer des paramètres body comme étant optionnels, en leur assignant une valeur par défaut à `None` : {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *} /// note Notez que, dans ce cas, le paramètre `item` provenant du `Body` est optionnel (sa valeur par défaut est `None`). /// ## Paramètres multiples du bodyCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 11:10:17 GMT 2024 - 5.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### Declarando a dependência, no "dependente" { #declare-the-dependency-in-the-dependant } Da mesma forma que você utiliza `Body`, `Query`, etc. Como parâmetros de sua *função de operação de rota*, utilize `Depends` com um novo parâmetro: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.7K bytes - Click Count (0) -
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py
@pytest.fixture( name="test_module", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py39"), pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_test_module(request: pytest.FixtureRequest) -> ModuleType: mod: ModuleType = importlib.import_module(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_tutorial/test_header_param_models/test_tutorial001.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py39"), pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.header_param_models.{request.param}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.3K bytes - Click Count (0)