- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 179 for tutorial002_an_py310 (0.15 sec)
-
tests/test_tutorial/test_cookie_param_models/test_tutorial001.py
params=[ "tutorial001", 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), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.cookie_param_models.{request.param}") client = TestClient(mod.app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 7.4K bytes - Viewed (0) -
tests/test_tutorial/test_body_fields/test_tutorial001_an_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.body_fields.tutorial001_an_py310 import app client = TestClient(app) return client @needs_py310 def test_items_5(client: TestClient): response = client.put("/items/5", json={"item": {"name": "Foo", "price": 3.0}})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params-numeric-validations.md
## Импорт Path Сначала импортируйте `Path` из `fastapi`, а также импортируйте `Annotated`: //// tab | Python 3.10+ ```Python hl_lines="1 3" {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="1 3" {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
And then **FastAPI** will call that override instead of the original dependency. //// tab | Python 3.10+ ```Python hl_lines="26-27 30" {!> ../../docs_src/dependency_testing/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="28-29 32" {!> ../../docs_src/dependency_testing/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py
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.query_params_str_validations.tutorial010_an_py310 import app client = TestClient(app) return client @needs_py310 def test_query_params_str_validations_no_query(client: TestClient): response = client.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/oauth2-jwt.md
/// 接下来,创建三个工具函数,其中一个函数用于哈希用户的密码。 第一个函数用于校验接收的密码是否匹配存储的哈希值。 第三个函数用于身份验证,并返回用户。 //// tab | Python 3.10+ ```Python hl_lines="8 49 56-57 60-61 70-76" {!> ../../docs_src/security/tutorial004_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="8 49 56-57 60-61 70-76" {!> ../../docs_src/security/tutorial004_an_py39.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/index.md
### 의존성 혹은 "디펜더블" 만들기 의존성에 집중해 봅시다. *경로 작동 함수*가 가질 수 있는 모든 매개변수를 갖는 단순한 함수입니다: //// tab | Python 3.10+ ```Python hl_lines="8-9" {!> ../../docs_src/dependencies/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="8-11" {!> ../../docs_src/dependencies/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.5K bytes - Viewed (0) -
docs/de/docs/advanced/testing-dependencies.md
Und dann ruft **FastAPI** diese Überschreibung anstelle der ursprünglichen Abhängigkeit auf. //// tab | Python 3.10+ ```Python hl_lines="26-27 30" {!> ../../docs_src/dependency_testing/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="28-29 32" {!> ../../docs_src/dependency_testing/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/pt/docs/advanced/testing-dependencies.md
E então o **FastAPI** chamará a sobreposição no lugar da dependência original. //// tab | Python 3.10+ ```Python hl_lines="26-27 30" {!> ../../docs_src/dependency_testing/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="28-29 32" {!> ../../docs_src/dependency_testing/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
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), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.query_param_models.{request.param}") client = TestClient(mod.app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0)