- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 239 for tutorial002_an_py39 (0.19 sec)
-
tests/test_tutorial/test_header_param_models/test_tutorial002.py
pytest.param("tutorial002_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_an", marks=needs_pydanticv2), 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]),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/header-params.md
//// tab | Python 3.10+ ```Python hl_lines="10" {!> ../../docs_src/header_params/tutorial002_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="11" {!> ../../docs_src/header_params/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="12" {!> ../../docs_src/header_params/tutorial002_an.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-param-models.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 15 09:53:14 UTC 2024 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py
import pytest from fastapi.testclient import TestClient from tests.utils import needs_py39, needs_pydanticv2 @pytest.fixture(name="client") def get_client(): from docs_src.request_form_models.tutorial002_an_py39 import app client = TestClient(app) return client @needs_pydanticv2 @needs_py39 def test_post_body_form(client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 6.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/cookie-param-models.md
Você pode utilizar a configuração do modelo Pydantic para `proibir` qualquer campo `extra`. //// tab | Python 3.9+ ```Python hl_lines="10" {!> ../../docs_src/cookie_param_models/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="11" {!> ../../docs_src/cookie_param_models/tutorial002_an.py!} ``` //// //// tab | Python 3.8+ non-Annotated
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 07 20:18:07 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params-numeric-validations.md
//// tab | Python 3.9+ ```Python hl_lines="10" {!> ../../docs_src/path_params_numeric_validations/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/path_params_numeric_validations/tutorial002_an.py!} ``` ////
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/fr/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial003_an_py39.py hl[10] *} ## Validations numériques : supérieur ou égal Avec `Query` et `Path` (et d'autres que vous verrez plus tard) vous pouvez déclarer des contraintes numériques. Ici, avec `ge=1`, `item_id` devra être un nombre entier "`g`reater than or `e`qual" à `1`. {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:32:37 UTC 2024 - 6.9K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py
from fastapi.testclient import TestClient from fastapi.websockets import WebSocketDisconnect from ...utils import needs_py39 @pytest.fixture(name="app") def get_app(): from docs_src.websockets.tutorial002_an_py39 import app return app @needs_py39 def test_main(app: FastAPI): client = TestClient(app) response = client.get("/") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-param-models.md
You can use Pydantic's model configuration to `forbid` any `extra` fields: //// tab | Python 3.9+ ```Python hl_lines="10" {!> ../../docs_src/cookie_param_models/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="11" {!> ../../docs_src/cookie_param_models/tutorial002_an.py!} ``` //// //// tab | Python 3.8+ non-Annotated
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-files.md
/// ## Importe `File` Importe `File` e `UploadFile` de `fastapi`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *} ## Definir Parâmetros `File` Crie parâmetros de arquivo da mesma forma que você faria para `Body` ou `Form`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *} /// info | Informação `File` é uma classe que herda diretamente de `Form`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 19:52:32 UTC 2024 - 7.8K bytes - Viewed (0)