Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 268 for tutorial009c_py310 (0.09 sec)

  1. docs_src/python_types/tutorial009c_py310.py

    Sebastián Ramírez <******@****.***> 1652529599 -0500
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 56 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_python_types/test_tutorial009c.py

    from types import ModuleType
    from unittest.mock import patch
    
    import pytest
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009c_py39"),
            pytest.param("tutorial009c_py310", marks=needs_py310),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.python_types.{request.param}")
        return mod
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 777 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. docs/de/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    Es wird in der interaktiven Dokumentation verwendet:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Beschreibung der Response { #response-description }
    
    Sie können die Response mit dem Parameter `response_description` beschreiben:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    /// info | Info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    Он будет использован в интерактивной документации:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Описание ответа { #response-description }
    
    Вы можете указать описание ответа с помощью параметра `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    It will be used in the interactive docs:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Response description { #response-description }
    
    You can specify the response description with the parameter `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    /// info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Set types { #set-types }
    
    But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings.
    
    And Python has a special data type for sets of unique items, the `set`.
    
    Then we can declare `tags` as a set of strings:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. 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)
  10. docs/es/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    Será usado en la documentación interactiva:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Descripción del Response { #response-description }
    
    Puedes especificar la descripción del response con el parámetro `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    /// info | Información
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top