- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for tutorial002_pv1 (0.26 sec)
-
docs_src/query_param_models/tutorial002_pv1.py
Sebastián Ramírez <******@****.***> 1726599250 +0200
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 501 bytes - Viewed (0) -
docs_src/request_form_models/tutorial002_pv1.py
Sebastián Ramírez <******@****.***> 1725643878 +0200
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 272 bytes - Viewed (0) -
docs_src/cookie_param_models/tutorial002_pv1.py
Sebastián Ramírez <******@****.***> 1726599250 +0200
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 385 bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_pv1.py
Sebastián Ramírez <******@****.***> 1726599250 +0200
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 440 bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_pv1.py
import pytest from fastapi.testclient import TestClient from tests.utils import needs_pydanticv1 @pytest.fixture(name="client") def get_client(): from docs_src.request_form_models.tutorial002_pv1 import app client = TestClient(app) return client @needs_pydanticv1 def test_post_body_form(client: TestClient): response = client.post("/login/", data={"username": "Foo", "password": "secret"})
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 6K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]), pytest.param("tutorial002_an_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_pv1", marks=[needs_pydanticv1, needs_pydanticv1]), pytest.param("tutorial002_pv1_py310", marks=[needs_py310, needs_pydanticv1]), pytest.param("tutorial002_pv1_an", marks=[needs_pydanticv1]),
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.6K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial002.py
pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]), pytest.param("tutorial002_an_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_pv1", marks=[needs_pydanticv1, needs_pydanticv1]), pytest.param("tutorial002_pv1_py39", marks=[needs_py39, needs_pydanticv1]), pytest.param("tutorial002_pv1_py310", marks=[needs_py310, needs_pydanticv1]),
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 10.4K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial002.py
pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]), pytest.param("tutorial002_an_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_pv1", marks=[needs_pydanticv1, needs_pydanticv1]), pytest.param("tutorial002_pv1_py310", marks=[needs_py310, needs_pydanticv1]), pytest.param("tutorial002_pv1_an", marks=[needs_pydanticv1]),
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/de/docs/advanced/path-operation-advanced-configuration.md
{!> ../../docs_src/path_operation_advanced_configuration/tutorial007.py!} ``` //// //// tab | Pydantic v1 ```Python hl_lines="17-22 24" {!> ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!} ``` //// /// info In Pydantic Version 1 hieß die Methode zum Abrufen des JSON-Schemas für ein Modell `Item.schema()`, in Pydantic Version 2 heißt die Methode `Item.model_json_schema()`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
{!> ../../docs_src/path_operation_advanced_configuration/tutorial007.py!} ``` //// //// tab | Pydantic v1 ```Python hl_lines="17-22 24" {!> ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!} ``` //// /// info In Pydantic version 1 the method to get the JSON Schema for a model was called `Item.schema()`, in Pydantic version 2, the method is called `Item.model_json_schema()`.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0)