Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 642 for tutorial007_py39 (0.11 sec)

  1. docs/en/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[7] *}
    
    This is a Python function.
    
    It will be called by **FastAPI** whenever it receives a request to the URL "`/`" using a `GET` operation.
    
    In this case, it is an `async` function.
    
    ---
    
    You could also define it as a normal function instead of `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note | Hinweis
    
    Wenn Sie den Unterschied nicht kennen, lesen Sie [Async: *„In Eile?“*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ///
    
    ### Schritt 5: den Inhalt zurückgeben { #step-5-return-the-content }
    
    {* ../../docs_src/first_steps/tutorial001_py39.py hl[8] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/query-params.md

    Quando você declara outros parâmetros na função que não fazem parte dos parâmetros da rota, esses parâmetros são automaticamente interpretados como parâmetros de "consulta".
    
    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    A consulta é o conjunto de pares chave-valor que vai depois de `?` na URL, separado pelo caractere `&`.
    
    Por exemplo, na URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/query-params.md

    # Parámetros de Query { #query-parameters }
    
    Cuando declaras otros parámetros de función que no son parte de los parámetros de path, son automáticamente interpretados como parámetros de "query".
    
    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    La query es el conjunto de pares clave-valor que van después del `?` en una URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Então, você pode declarar sua função assim:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *}
    
    Mas tenha em mente que, se você usar `Annotated`, você não terá esse problema, não fará diferença, pois você não está usando valores padrão de parâmetros de função para `Query()` ou `Path()`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. docs/ru/docs/advanced/additional-responses.md

    Например, чтобы объявить ещё один ответ со статус-кодом `404` и Pydantic-моделью `Message`, можно написать:
    
    {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *}
    
    /// note | Примечание
    
    Имейте в виду, что необходимо возвращать `JSONResponse` напрямую.
    
    ///
    
    /// info | Информация
    
    Ключ `model` не является частью OpenAPI.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-nested-models.md

    ```Python
    images: list[Image]
    ```
    
    como em:
    
    {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *}
    
    ## Suporte de editor em todo canto { #editor-support-everywhere }
    
    E você obtém suporte do editor em todos os lugares.
    
    Mesmo para itens dentro de listas:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/path-params-numeric-validations.md

    Así que puedes declarar tu función como:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *}
    
    Pero ten en cuenta que si usas `Annotated`, no tendrás este problema, no importará ya que no estás usando los valores por defecto de los parámetros de la función para `Query()` o `Path()`.
    
    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

    Sie können Ihre Funktion also so deklarieren:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *}
    
    Aber bedenken Sie, dass Sie dieses Problem nicht haben, wenn Sie `Annotated` verwenden, da es nicht darauf ankommt, dass Sie keine Funktionsparameter-Defaultwerte für `Query()` oder `Path()` verwenden.
    
    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