- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 292 for tutorial003_an_py310 (0.18 sec)
-
docs/pt/docs/tutorial/path-params-numeric-validations.md
## Importe `Path` { #import-path } Primeiro, importe `Path` de `fastapi`, e importe `Annotated`: {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *} /// info | Informação O FastAPI adicionou suporte a `Annotated` (e passou a recomendá-lo) na versão 0.95.0. Se você tiver uma versão mais antiga, verá erros ao tentar usar `Annotated`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial002.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), pytest.param("tutorial002_an_py39"), pytest.param("tutorial002_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.security.{request.param}") client = TestClient(mod.app) return client
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/de/docs/advanced/advanced-dependencies.md
So könnte es aussehen: {* ../../docs_src/dependencies/tutorial013_an_py310.py *} Der Exit-Code, das automatische Schließen der `Session` in: {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[19:21] *} ... würde ausgeführt, nachdem die Response das langsame Senden der Daten beendet: {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[30:38] hl[31:33] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 17:32:56 UTC 2025 - 10.4K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/index.md
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### Die Abhängigkeit im <abbr title="Das Abhängige, der Verwender der Abhängigkeit">„Dependant“</abbr> deklarieren { #declare-the-dependency-in-the-dependant } So wie auch `Body`, `Query`, usw., verwenden Sie `Depends` mit den Parametern Ihrer *Pfadoperation-Funktion*: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 11.3K bytes - Viewed (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.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 16:27:21 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/es/docs/advanced/advanced-dependencies.md
Así es como se vería: {* ../../docs_src/dependencies/tutorial013_an_py310.py *} El código de salida, el cierre automático de la `Session` en: {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[19:21] *} ...se ejecutaría después de que la response termine de enviar los datos lentos: {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[30:38] hl[31:33] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 9.8K bytes - Viewed (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] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 10.7K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_01.py
from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial003_01_py39"), pytest.param("tutorial003_01_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.response_model.{request.param}") client = TestClient(mod.app) return client
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 5.9K bytes - Viewed (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.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2K bytes - Viewed (0) -
docs/ru/docs/advanced/testing-dependencies.md
Тогда **FastAPI** будет вызывать это переопределение вместо исходной зависимости. {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip | Совет Вы можете задать переопределение для зависимости, используемой в любом месте вашего приложения **FastAPI**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:37:11 UTC 2025 - 4.3K bytes - Viewed (0)