Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 310 for tutorial009c_py310 (0.32 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/ru/docs/python-types.md

    ```
    
    Хорошая новость: как только вы перейдёте на Python 3.10, об этом можно не переживать — вы сможете просто использовать `|` для объединения типов:
    
    {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *}
    
    И тогда вам не придётся задумываться о названиях вроде `Optional` и `Union`. 😎
    
    #### Generic-типы { #generic-types }
    
    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

    Die gute Nachricht ist, dass Sie sich darüber keine Sorgen mehr machen müssen, wenn Sie Python 3.10 verwenden, da Sie einfach `|` verwenden können, um Vereinigungen von Typen zu definieren:
    
    {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *}
    
    Und dann müssen Sie sich nicht mehr um Namen wie `Optional` und `Union` kümmern. 😎
    
    #### Generische Typen { #generic-types }
    
    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

    ```
    
    The good news is, once you are on Python 3.10 you won't have to worry about that, as you will be able to simply use `|` to define unions of types:
    
    {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *}
    
    And then you won't have to worry about names like `Optional` and `Union`. 😎
    
    #### Generic types { #generic-types }
    
    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

    ```
    
    A boa notícia é, quando você estiver no Python 3.10 você não precisará se preocupar mais com isso, pois você poderá simplesmente utilizar o `|` para definir uniões de tipos:
    
    {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *}
    
    E então você não precisará mais se preocupar com nomes como `Optional` e `Union`. 😎
    
    #### Tipos genéricos { #generic-types }
    
    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

    ```
    
    La buena noticia es que, una vez que estés en Python 3.10, no tendrás que preocuparte por eso, ya que podrás simplemente usar `|` para definir uniones de tipos:
    
    {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *}
    
    Y entonces no tendrás que preocuparte por nombres como `Optional` y `Union`. 😎
    
    #### Tipos genéricos { #generic-types }
    
    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/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)
Back to top