- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 442 for tutorial009c_py39 (0.11 sec)
-
docs/ru/docs/tutorial/metadata.md
Вы можете задать их следующим образом: {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *} /// tip | Подсказка Вы можете использовать Markdown в поле `description`, и оно будет отображено в выводе. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.3K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008e.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ pytest.param("tutorial008e_py39"), pytest.param("tutorial008e_an_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") client = TestClient(mod.app) return client
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 574 bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py
import importlib import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial006c_py39"), pytest.param("tutorial006c_py310", marks=needs_py310), pytest.param("tutorial006c_an_py39"), pytest.param("tutorial006c_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial009.py
import importlib import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial009_py39"), pytest.param("tutorial009_py310", marks=needs_py310), pytest.param("tutorial009_an_py39"), pytest.param("tutorial009_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial001_py39.py hl[7] *} This is a Python function. It will be called by **FastAPI** whenever it receives a request to the URL "`/`" using a `GET` operation. In this case, it is an `async` function. --- You could also define it as a normal function instead of `async def`: {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *} /// noteRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *} /// note | Hinweis Wenn Sie den Unterschied nicht kennen, lesen Sie [Async: *„In Eile?“*](../async.md#in-a-hurry){.internal-link target=_blank}. /// ### Schritt 5: den Inhalt zurückgeben { #step-5-return-the-content } {* ../../docs_src/first_steps/tutorial001_py39.py hl[8] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
Let's start with an example and then see it in detail. We create an async function `lifespan()` with `yield` like this: {* ../../docs_src/events/tutorial003_py39.py hl[16,19] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/pt/docs/advanced/events.md
Vamos começar com um exemplo e depois ver em detalhes. Nós criamos uma função assíncrona `lifespan()` com `yield` assim: {* ../../docs_src/events/tutorial003_py39.py hl[16,19] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.8K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
## Use `HTTPException` { #use-httpexception } To return HTTP responses with errors to the client you use `HTTPException`. ### Import `HTTPException` { #import-httpexception } {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *} ### Raise an `HTTPException` in your code { #raise-an-httpexception-in-your-code } `HTTPException` is a normal Python exception with additional data relevant for APIs.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9K bytes - Viewed (0) -
docs/es/docs/tutorial/path-operation-configuration.md
En estos casos, podría tener sentido almacenar las tags en un `Enum`. **FastAPI** soporta eso de la misma manera que con strings normales: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Resumen y Descripción { #summary-and-description } Puedes añadir un `summary` y `description`: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.3K bytes - Viewed (0)