Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 296 for tutorial002_an_py39 (0.08 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial002.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
            f"docs_src.query_params_str_validations.{request.param}"
        )
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-form-models.md

    /// note
    
    This is supported since FastAPI version `0.114.0`. 🤓
    
    ///
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    If a client tries to send some extra data, they will receive an **error** response.
    
    For example, if the client tries to send the form fields:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    ## Validações numéricas: maior que e menor que ou igual { #number-validations-greater-than-and-less-than-or-equal }
    
    O mesmo se aplica a:
    
    * `gt`: maior que (`g`reater `t`han)
    * `le`: menor que ou igual (`l`ess than or `e`qual)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. docs/uk/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    ## Валідація числових даних: більше ніж і менше або дорівнює
    
    Те саме застосовується до:
    
    * `gt`: `g`reater `t`han (більше ніж)
    * `le`: `l`ess than or `e`qual (менше або дорівнює)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    ## Валідація числових даних: float, більше ніж і менше ніж
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 16:27:21 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_form_models/test_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial002_py39",
            "tutorial002_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 20 15:55:38 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=[needs_py310]),
            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial002_an_py310", marks=[needs_py310]),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.cookie_param_models.{request.param}")
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/request-form-models.md

    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.114.0` 이후부터 지원됩니다. 🤓
    
    ///
    
    Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    클라이언트가 추가 데이터를 보내려고 하면 **오류** 응답을 받게 됩니다.
    
    예를 들어, 클라이언트가 폼 필드를 보내려고 하면:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 09 12:44:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    ## Validaciones numéricas: mayor que y menor o igual { #number-validations-greater-than-and-less-than-or-equal }
    
    Lo mismo aplica para:
    
    * `gt`: `g`reater `t`han
    * `le`: `l`ess than or `e`qual
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    ## Validierung von Zahlen: Größer und kleiner oder gleich { #number-validations-greater-than-and-less-than-or-equal }
    
    Das Gleiche gilt für:
    
    * `gt`: `g`reater `t`han (größer als)
    * `le`: `l`ess than or `e`qual (kleiner oder gleich)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top