Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 650 for tutorial004_py39 (1.65 sec)

  1. docs/en/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    #### Get the *enumeration value* { #get-the-enumeration-value }
    
    You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    #### Obtener el valor de *enumeración* { #get-the-enumeration-value }
    
    Puedes obtener el valor actual (un `str` en este caso) usando `model_name.value`, o en general, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip | Consejo
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/extra-models.md

    Auf die gleiche Weise können Sie Responses von Listen von Objekten deklarieren.
    
    Dafür verwenden Sie Pythons Standard-`typing.List` (oder nur `list` in Python 3.9 und höher):
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    ## Response mit beliebigem `dict` { #response-with-arbitrary-dict }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/extra-models.md

    Таким же образом вы можете определять ответы как списки объектов.
    
    Для этого используйте `typing.List` из стандартной библиотеки Python (или просто `list` в Python 3.9 и выше):
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    ## Ответ с произвольным `dict` { #response-with-arbitrary-dict }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/extra-models.md

    Da mesma forma, você pode declarar respostas de listas de objetos.
    
    Para isso, use o padrão Python `typing.List` (ou simplesmente `list` no Python 3.9 e superior):
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    ## Resposta com `dict` arbitrário { #response-with-arbitrary-dict }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    {* ../../docs_src/python_types/tutorial003_py39.py hl[1] *}
    
    Because the editor knows the types of the variables, you don't only get completion, you also get error checks:
    
    <img src="/img/python-types/image04.png">
    
    Now you know that you have to fix it, convert `age` to a string with `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004_py39.py hl[2] *}
    
    ## Declaring types { #declaring-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)
  7. docs/en/docs/tutorial/extra-models.md

    The same way, you can declare responses of lists of objects.
    
    For that, use the standard Python `typing.List` (or just `list` in Python 3.9 and above):
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    ## Response with arbitrary `dict` { #response-with-arbitrary-dict }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/extra-models.md

    De la misma manera, puedes declarar responses de listas de objetos.
    
    Para eso, usa el `typing.List` estándar de Python (o simplemente `list` en Python 3.9 y posteriores):
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    
    ## Response con `dict` arbitrario { #response-with-arbitrary-dict }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial004.py

    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
            pytest.param("tutorial004_an_py39"),
            pytest.param("tutorial004_an_py310", marks=needs_py310),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. docs/ru/docs/advanced/generate-clients.md

    Мы можем скачать OpenAPI JSON в файл `openapi.json`, а затем **убрать этот префикс‑тег** таким скриптом:
    
    {* ../../docs_src/generate_clients/tutorial004_py39.py *}
    
    //// tab | Node.js
    
    ```Javascript
    {!> ../../docs_src/generate_clients/tutorial004.js!}
    ```
    
    ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top