- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 296 for tutorial001_py310 (0.24 sec)
-
tests/test_tutorial/test_query_param_models/test_tutorial001.py
from tests.utils import needs_py39, needs_py310 @pytest.fixture( name="client", params=[ "tutorial001", pytest.param("tutorial001_py39", marks=needs_py39), pytest.param("tutorial001_py310", marks=needs_py310), "tutorial001_an", pytest.param("tutorial001_an_py39", marks=needs_py39), pytest.param("tutorial001_an_py310", marks=needs_py310), ], )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-multiple-params.md
//// tab | Python 3.10+ non-Annotated /// tip | "Заметка" Рекомендуется использовать `Annotated` версию, если это возможно. /// ```Python hl_lines="17-19" {!> ../../docs_src/body_multiple_params/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip | "Заметка" Рекомендуется использовать версию с `Annotated`, если это возможно. /// ```Python hl_lines="19-21"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.6K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial001.py
from tests.utils import needs_py39, needs_py310 @pytest.fixture( name="client", params=[ "tutorial001", pytest.param("tutorial001_py39", marks=needs_py39), pytest.param("tutorial001_py310", marks=needs_py310), "tutorial001_an", pytest.param("tutorial001_an_py39", marks=needs_py39), pytest.param("tutorial001_an_py310", marks=needs_py310), ], )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.7K bytes - Viewed (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.extra_data_types.tutorial001_py310 import app client = TestClient(app) return client @needs_py310 def test_extra_types(client: TestClient): item_id = "ff97dd87-a4a5-4a12-b412-cde99f33e00e" data = {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 7K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params-str-validations.md
```Python hl_lines="9" {!> ../../docs_src/query_params_str_validations/tutorial001.py!} ``` //// //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛 ```Python hl_lines="7" {!> ../../docs_src/query_params_str_validations/tutorial001_py310.py!} ``` //// 🔢 🔢 `q` 🆎 `Union[str, None]` (⚖️ `str | None` 🐍 3️⃣.1️⃣0️⃣), 👈 ⛓ 👈 ⚫️ 🆎 `str` ✋️ 💪 `None`, & 👐, 🔢 💲 `None`, FastAPI 🔜 💭 ⚫️ 🚫 ✔. /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.7K bytes - Viewed (0) -
docs/de/docs/tutorial/body-updates.md
//// tab | Python 3.10+ ```Python hl_lines="28-33" {!> ../../docs_src/body_updates/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="30-35" {!> ../../docs_src/body_updates/tutorial001_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="30-35" {!> ../../docs_src/body_updates/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.dependencies.tutorial001_py310 import app client = TestClient(app) return client @needs_py310 @pytest.mark.parametrize( "path,expected_status,expected_response", [
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 7.2K bytes - Viewed (0) -
docs/fr/docs/tutorial/body-multiple-params.md
``` //// //// tab | Python 3.10+ non-Annotated /// tip Préférez utiliser la version `Annotated` si possible. /// ```Python hl_lines="17-19" {!> ../../docs_src/body_multiple_params/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip Préférez utiliser la version `Annotated` si possible. /// ```Python hl_lines="19-21"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
使用 **FastAPI**,你可以定义、校验、记录文档并使用任意深度嵌套的模型(归功于Pydantic)。 ## List 字段 你可以将一个属性定义为拥有子元素的类型。例如 Python `list`: //// tab | Python 3.10+ ```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!} ``` //// 这将使 `tags` 成为一个由元素组成的列表。不过它没有声明每个元素的类型。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/de/docs/advanced/additional-status-codes.md
//// //// tab | Python 3.10+ nicht annotiert /// tip | "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. /// ```Python hl_lines="2 23" {!> ../../docs_src/additional_status_codes/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ nicht annotiert /// tip | "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. /// ```Python hl_lines="4 25"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0)