Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,461 for NOTE (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/async.md

    results = await some_library()
    ```
    
    然後,使用 `async def` 宣告你的*路徑操作函式*:
    
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | 注意
    
    你只能在 `async def` 建立的函式內使用 `await`。
    
    ///
    
    ---
    
    如果你使用的是第三方函式庫並且它需要與某些外部資源(例如資料庫、API、檔案系統等)進行通訊,但不支援 `await`(目前大多數資料庫函式庫都是這樣),在這種情況下,你可以像平常一樣使用 `def` 宣告*路徑操作函式*,如下所示:
    
    ```Python hl_lines="2"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  2. docs/zh/docs/async.md

    results = await some_library()
    ```
    
    然后,通过 `async def` 声明你的 *路径操作函数*:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | 注意
    
    你只能在被 `async def` 创建的函数内使用 `await`
    
    ///
    
    ---
    
    如果你正在使用一个第三方库和某些组件(比如:数据库、API、文件系统...)进行通信,第三方库又不支持使用 `await` (目前大多数数据库三方库都是这样),这种情况你可以像平常那样使用 `def` 声明一个路径操作函数,就像这样:
    
    ```Python hl_lines="2"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  3. docs/pt/docs/_llm-test.md

    ////
    
    ## Abas e caixas coloridas { #tabs-and-colored-boxes }
    
    //// tab | Teste
    
    /// info | Informação
    Algum texto
    ///
    
    /// note | Nota
    Algum texto
    ///
    
    /// note | Detalhes Técnicos
    Algum texto
    ///
    
    /// check | Verifique
    Algum texto
    ///
    
    /// tip | Dica
    Algum texto
    ///
    
    /// warning | Atenção
    Algum texto
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/stream-json-lines.md

        Client->>Client: Process Item 1
        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Es könnte sogar ein unendlicher Stream sein, bei dem Sie kontinuierlich Daten senden.
    
    ## JSON Lines { #json-lines }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/testing-websockets.md

    Dazu verwenden Sie den `TestClient` in einer `with`-Anweisung, eine Verbindung zum WebSocket herstellend:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Hinweis
    
    Weitere Informationen finden Sie in Starlettes Dokumentation zum [Testen von WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 471 bytes
    - Click Count (0)
  6. docs/zh/docs/_llm-test.md

    /// info | 信息
    Some text
    ///
    
    /// note | 注意
    Some text
    ///
    
    /// note | 技术细节
    Some text
    ///
    
    /// check | 检查
    Some text
    ///
    
    /// tip | 提示
    Some text
    ///
    
    /// warning | 警告
    Some text
    ///
    
    /// danger | 危险
    Some text
    ///
    
    ////
    
    //// tab | 信息
    
    选项卡以及 `Info`/`Note`/`Warning`/等提示块,应在竖线(`|`)后添加其标题的翻译。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/testing-websockets.md

    Pour cela, vous utilisez `TestClient` dans une instruction `with`, en vous connectant au WebSocket :
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Remarque
    
    Pour plus de détails, consultez la documentation de Starlette sur le [test des WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 473 bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.36.md

       ```
      
      #### Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
      
      <!--
      This section can be blank if this pull request does not require a release note.
      
      When adding links which point to resources within git repositories, like
      KEPs or supporting documentation, please reference a specific commit and avoid
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/body-multiple-params.md

    Und Sie können auch Body-Parameter als optional kennzeichnen, indem Sie den Defaultwert auf `None` setzen:
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note | Hinweis
    
    Beachten Sie, dass in diesem Fall das `item`, welches vom Body genommen wird, optional ist. Da es `None` als Defaultwert hat.
    
    ///
    
    ## Mehrere Body-Parameter { #multiple-body-parameters }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/using-request-directly.md

    Ao declarar o parâmetro com o tipo sendo um `Request` em sua *função de operação de rota*, o **FastAPI** saberá como passar o `Request` neste parâmetro.
    
    /// tip | Dica
    
    Note que neste caso, nós estamos declarando o parâmetro de path ao lado do parâmetro da requisição.
    
    Assim, o parâmetro de path será extraído, validado, convertido para o tipo especificado e anotado com OpenAPI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top