- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 550 for tutorial008e_py39 (0.45 sec)
-
tests/test_tutorial/test_encoder/test_tutorial001.py
import importlib from types import ModuleType import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="mod", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_module(request: pytest.FixtureRequest): module = importlib.import_module(f"docs_src.encoder.{request.param}") return module
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.7K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial001.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ "tutorial001_py39", "tutorial001_an_py39", ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.request_form_models.{request.param}") client = TestClient(mod.app) return client def test_post_body_form(client: TestClient):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 5.7K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms/test_tutorial001.py
import importlib import pytest from fastapi.testclient import TestClient @pytest.fixture( name="client", params=[ "tutorial001_py39", "tutorial001_an_py39", ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.request_forms.{request.param}") client = TestClient(mod.app) return client def test_post_body_form(client: TestClient):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 5.7K bytes - Viewed (0) -
docs/de/docs/tutorial/path-operation-configuration.md
In diesem Fall macht es Sinn, die Tags in einem `Enum` zu speichern. **FastAPI** unterstützt das auf die gleiche Weise wie einfache Strings: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Zusammenfassung und Beschreibung { #summary-and-description } Sie können eine <abbr title="Zusammenfassung">`summary`</abbr> und eine <abbr title="Beschreibung">`description`</abbr> hinzufügen:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
В этих случаях, имеет смысл хранить теги в классе `Enum`. **FastAPI** поддерживает это так же, как и в случае с обычными строками: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Краткое и развёрнутое содержание { #summary-and-description } Вы можете добавить параметры `summary` и `description`:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
In these cases, it could make sense to store the tags in an `Enum`. **FastAPI** supports that the same way as with plain strings: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Summary and description { #summary-and-description } You can add a `summary` and `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.1K bytes - Viewed (0) -
docs/ru/docs/advanced/settings.md
Вы можете использовать все те же возможности валидации и инструменты, что и для Pydantic‑моделей, например разные типы данных и дополнительную валидацию через `Field()`. //// tab | Pydantic v2 {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *} //// //// tab | Pydantic v1 /// info | Информация В Pydantic v1 вы бы импортировали `BaseSettings` напрямую из `pydantic`, а не из `pydantic_settings`. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 18.3K bytes - Viewed (0) -
docs/de/docs/tutorial/debugging.md
## `uvicorn` aufrufen { #call-uvicorn } Importieren und führen Sie `uvicorn` direkt in Ihrer FastAPI-Anwendung aus: {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *} ### Über `__name__ == "__main__"` { #about-name-main } Der Hauptzweck von `__name__ == "__main__"` ist, dass Code ausgeführt wird, wenn Ihre Datei mit folgendem Befehl aufgerufen wird:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/pt/docs/advanced/using-request-directly.md
Vamos imaginar que você deseja obter o endereço de IP/host do cliente dentro da sua *função de operação de rota*. Para isso você precisa acessar a requisição diretamente. {* ../../docs_src/using_request_directly/tutorial001_py39.py hl[1,7:8] *} Ao declarar o parâmetro com o tipo sendo um `Request` em sua *função de operação de rota*, o **FastAPI** saberá como passar o `Request` neste parâmetro. /// tip | DicaRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/de/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image02.png"> Sie können sie jedoch deaktivieren, indem Sie `syntaxHighlight` auf `False` setzen: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} ... und dann zeigt die Swagger-Oberfläche die Syntaxhervorhebung nicht mehr an: <img src="/img/tutorial/extending-openapi/image03.png"> ## Das Theme ändern { #change-the-theme }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.5K bytes - Viewed (0)