Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1871 - 1880 of 2,115 for path2 (0.02 seconds)

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

  1. docs/zh-hant/docs/advanced/stream-data.md

    {* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *}
    
    FastAPI 會如實將每個資料區塊交給 `StreamingResponse`,不會嘗試將其轉換為 JSON 或其他格式。
    
    ### 非 async 路徑操作函式 { #non-async-path-operation-functions }
    
    你也可以使用一般的 `def` 函式(沒有 `async`),並以相同方式使用 `yield`。
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    ### 不需要型別註解 { #no-annotation }
    
    對於串流二進位資料,其實不需要宣告回傳型別註解。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                synonymService.getSynonymFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

        /**
         * Configure the certificate chain to use when being authenticated. The first certificate is
         * the held certificate, further certificates are included in the handshake so the peer can
         * build a trusted path to a trusted root certificate.
         *
         * The chain should include all intermediate certificates but does not need the root certificate
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top