Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 623 for tutorial010_py39 (0.24 sec)

  1. docs_src/query_params/tutorial006_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 301 bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[7] *}
    
    Esta é uma função Python.
    
    Ela será chamada pelo **FastAPI** sempre que receber uma requisição para a URL "`/`" usando uma operação `GET`.
    
    Neste caso, é uma função `async`.
    
    ---
    
    Você também pode defini-la como uma função normal em vez de `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[7] *}
    
    Esta es una función de Python.
    
    Será llamada por **FastAPI** cuando reciba un request en la URL "`/`" usando una operación `GET`.
    
    En este caso, es una función `async`.
    
    ---
    
    También podrías definirla como una función normal en lugar de `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/query-params.md

    # Query-параметры { #query-parameters }
    
    Когда вы объявляете параметры функции, которые не являются параметрами пути, они автоматически интерпретируются как "query"-параметры.
    
    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    Query-параметры представляют из себя набор пар ключ-значение, которые идут после знака `?` в URL-адресе, разделенные символами `&`.
    
    Например, в этом 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
    - 7.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. docs/en/docs/tutorial/query-params.md

    # Query Parameters { #query-parameters }
    
    When you declare other function parameters that are not part of the path parameters, they are automatically interpreted as "query" parameters.
    
    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    The query is the set of key-value pairs that go after the `?` in a URL, separated by `&` characters.
    
    For example, in the 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.5K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/additional-responses.md

    Por exemplo, para declarar um outro retorno com o status code `404` e um modelo do Pydantic chamado `Message`, você pode escrever:
    
    {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *}
    
    /// note | Nota
    
    Lembre-se que você deve retornar o `JSONResponse` diretamente.
    
    ///
    
    /// info | Informação
    
    A chave `model` não é parte do OpenAPI.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/generate-clients.md

    如果您正在开发**前端**,一个非常有趣的替代方案是 <a href="https://github.com/hey-api/openapi-ts" class="external-link" target="_blank">openapi-ts</a>。
    
    ## 生成一个 TypeScript 前端客户端
    
    让我们从一个简单的 FastAPI 应用开始:
    
    {* ../../docs_src/generate_clients/tutorial001_py39.py hl[7:9,12:13,16:17,21] *}
    
    请注意,*路径操作* 定义了他们所用于请求数据和回应数据的模型,所使用的模型是`Item` 和 `ResponseMessage`。
    
    ### API 文档
    
    如果您访问API文档,您将看到它具有在请求中发送和在响应中接收数据的**模式(schemas)**:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. 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)
Back to top