Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for tutorial009_py310 (0.06 sec)

  1. tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py

    from types import ModuleType
    from unittest.mock import patch
    
    import pytest
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009_py39"),
            pytest.param("tutorial009_py310", marks=needs_py310),
            pytest.param("tutorial009b_py39"),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.python_types.{request.param}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 805 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_params_str_validations/test_tutorial009.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial009_py39"),
            pytest.param("tutorial009_py310", marks=needs_py310),
            pytest.param("tutorial009_an_py39"),
            pytest.param("tutorial009_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. docs/ru/docs/python-types.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ альтернативный вариант
    
    ```Python hl_lines="1  4"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. docs/de/docs/python-types.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ Alternative
    
    ```Python hl_lines="1  4"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.9K bytes
    - Viewed (1)
  5. docs/en/docs/python-types.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ alternative
    
    ```Python hl_lines="1  4"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. docs/pt/docs/python-types.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ alternativa
    
    ```Python hl_lines="1  4"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. docs/es/docs/python-types.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ alternativa
    
    ```Python hl_lines="1  4"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  8. docs/de/docs/tutorial/body-nested-models.md

    Für ein Beispiel können wir ein `Image`-Modell definieren.
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Das Kindmodell als Typ verwenden { #use-the-submodel-as-a-type }
    
    Und dann können wir es als Typ eines Attributes verwenden:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *}
    
    Das würde bedeuten, dass **FastAPI** einen Body wie folgt erwartet:
    
    ```JSON
    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/body-nested-models.md

    Por ejemplo, podemos definir un modelo `Image`:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Usar el submodelo como tipo { #use-the-submodel-as-a-type }
    
    Y luego podemos usarlo como el tipo de un atributo:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *}
    
    Esto significaría que **FastAPI** esperaría un cuerpo similar a:
    
    ```JSON
    {
        "name": "Foo",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-nested-models.md

    Por exemplo, nós podemos definir um modelo `Image`:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *}
    
    ### Use o sub-modelo como um tipo { #use-the-submodel-as-a-type }
    
    E então podemos usa-lo como o tipo de um atributo:
    
    {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *}
    
    Isso significa que o **FastAPI** vai esperar um corpo similar à:
    
    ```JSON
    {
        "name": "Foo",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top