Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1891 - 1900 of 2,147 for path2 (0.03 seconds)

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

  1. docs/zh-hant/docs/fastapi-cli.md

    ```
    
    那麼你應該把 `entrypoint` 設為:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    這等同於:
    
    ```python
    from backend.main import app
    ```
    
    ### 帶路徑的 `fastapi dev` { #fastapi-dev-with-path }
    
    你也可以把檔案路徑傳給 `fastapi dev` 指令,它會推測要使用的 FastAPI app 物件:
    
    ```console
    $ fastapi dev main.py
    ```
    
    但這樣每次呼叫 `fastapi` 指令時都得記得傳入正確的路徑。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/metadata.md

    不必为你使用的所有标签都添加元数据。
    
    ///
    
    ### 使用你的标签 { #use-your-tags }
    
    将 `tags` 参数和*路径操作*(以及 `APIRouter`)一起使用,将其分配给不同的标签:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[21,26] *}
    
    /// info | 信息
    
    阅读更多关于标签的信息[路径操作配置](path-operation-configuration.md#tags)。
    
    ///
    
    ### 查看文档 { #check-the-docs }
    
    如果你现在查看文档,它们会显示所有附加的元数据:
    
    <img src="/img/tutorial/metadata/image02.png">
    
    ### 标签顺序 { #order-of-tags }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.4.md

    * Fix issue when attempting to unmount a wrong vSphere volume ([#37413](https://github.com/kubernetes/kubernetes/pull/37413), [@BaluDontu](https://github.com/BaluDontu))
    * Fix issue in converting AWS volume ID from mount paths ([#36840](https://github.com/kubernetes/kubernetes/pull/36840), [@jingxu97](https://github.com/jingxu97))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 133.5K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/websockets.md

    ## Utiliser `Depends` et autres { #using-depends-and-others }
    
    Dans les endpoints WebSocket, vous pouvez importer depuis `fastapi` et utiliser :
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Ils fonctionnent de la même manière que pour les autres endpoints/*chemins d'accès* FastAPI :
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/stream-json-lines.md

    如果你宣告了回傳型別,FastAPI 會用它來進行資料的**驗證**、在 OpenAPI 中**文件化**、**過濾**,並使用 Pydantic 進行**序列化**。
    
    /// tip
    
    由於 Pydantic 會在 **Rust** 端進行序列化,宣告回傳型別可獲得比未宣告時高得多的**效能**。
    
    ///
    
    ### 非 async 的*路徑操作函式* { #non-async-path-operation-functions }
    
    你也可以用一般的 `def` 函式(沒有 `async`),同樣用 `yield`。
    
    FastAPI 會確保正確執行,不會阻塞事件迴圈。
    
    因為這種情況下函式不是 async,正確的回傳型別會是 `Iterable[Item]`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip | 提示
    
    由于 Pydantic 会在**Rust** 端序列化它,相比未声明返回类型,你将获得更高的**性能**。
    
    ///
    
    ### 非 async 的*路径操作函数* { #non-async-path-operation-functions }
    
    你也可以使用常规的 `def` 函数(没有 `async`),并以同样的方式使用 `yield`。
    
    FastAPI 会确保其正确运行,从而不阻塞事件循环。
    
    由于此时函数不是 async,正确的返回类型应为 `Iterable[Item]`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/testing.md

    Затем Вы просто применяете найденные ответы в тестах.
    
    Например:
    
    * Передаёте *path*-параметры или *query*-параметры, вписав их непосредственно в строку URL.
    * Передаёте JSON в теле запроса, передав Python-объект (например: `dict`) через именованный параметр `json`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

         * future, so we will suppress any such future Error Prone reports.
         */
        assertWithMessage(
                "Can't test the main listenInPoolThread path "
                    + "if the input is already a ListenableFuture")
            .that(input)
            .isNotInstanceOf(ListenableFuture.class);
        ListenableFuture<String> listenable = listenInPoolThread(input);
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Resources.java

       * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
       * context class loader will find resources from the class path. In environments where different
       * threads can have different class loaders, for example app servers, the context class loader
       * will typically have been set to an appropriate loader for the current thread.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/stream-data.md

    FastAPI transmettra chaque bloc de données à la `StreamingResponse` tel quel ; il n'essaiera pas de le convertir en JSON ni autre chose similaire.
    
    ### Fonctions de chemin d'accès non async { #non-async-path-operation-functions }
    
    Vous pouvez également utiliser des fonctions `def` classiques (sans `async`), et utiliser `yield` de la même manière.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top