Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 517 for taip (0.07 sec)

  1. docs/ja/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ////
    
    /// tip | "豆知識"
    
    `standard` を加えることで、Uvicornがインストールされ、いくつかの推奨される依存関係を利用するようになります。
    
    これには、`asyncio` の高性能な完全互換品である `uvloop` が含まれ、並行処理のパフォーマンスが大幅に向上します。
    
    ///
    
    //// tab | Hypercorn
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/response-directly.md

    Pode ser útil para retornar cabeçalhos e cookies personalizados, por exemplo.
    
    ## Retornando uma `Response`
    
    Na verdade, você pode retornar qualquer `Response` ou subclasse dela.
    
    /// tip | Dica
    
    A própria `JSONResponse` é uma subclasse de `Response`.
    
    ///
    
    E quando você retorna uma `Response`, o **FastAPI** vai repassá-la diretamente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

                    .named("Floats.asList, head subList"),
                ListTestSuiteBuilder.using(new FloatsAsListTailSubListGenerator())
                    .named("Floats.asList, tail subList"),
                ListTestSuiteBuilder.using(new FloatsAsListMiddleSubListGenerator())
                    .named("Floats.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

                    .named("Floats.asList, head subList"),
                ListTestSuiteBuilder.using(new FloatsAsListTailSubListGenerator())
                    .named("Floats.asList, tail subList"),
                ListTestSuiteBuilder.using(new FloatsAsListMiddleSubListGenerator())
                    .named("Floats.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

                    .named("Ints.asList, head subList"),
                ListTestSuiteBuilder.using(new IntsAsListTailSubListGenerator())
                    .named("Ints.asList, tail subList"),
                ListTestSuiteBuilder.using(new IntsAsListMiddleSubListGenerator())
                    .named("Ints.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
        int chunk1 = min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertNull(file);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/templates.md

    Before FastAPI 0.108.0, Starlette 0.29.0, the `name` was the first parameter.
    
    Also, before that, in previous versions, the `request` object was passed as part of the key-value pairs in the context for Jinja2.
    
    ///
    
    /// tip
    
    By declaring `response_class=HTMLResponse` the docs UI will be able to know that the response will be HTML.
    
    ///
    
    /// note | "Technical Details"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/templates.md

    ```Python hl_lines="4  11  15-16"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note | "笔记"
    
    在FastAPI 0.108.0,Starlette 0.29.0之前,`name`是第一个参数。
    并且,在此之前,`request`对象是作为context的一部分以键值对的形式传递的。
    
    ///
    
    /// tip | "提示"
    
    通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    ///
    
    /// note | "技术细节"
    
    您还可以使用 `from starlette.templating import Jinja2Templates`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    afraid that it would be offended again.
    
      `Mine is a long and a sad tale!' said the Mouse, turning to
    Alice, and sighing.
    
      `It IS a long tail, certainly,' said Alice, looking down with
    wonder at the Mouse's tail; `but why do you call it sad?'  And
    she kept on puzzling about it while the Mouse was speaking, so
    that her idea of the tale was something like this:--
    
                        `Fury said to a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/response-cookies.md

    你可以参考[Return a Response Directly](response-directly.md){.internal-link target=_blank}来创建response
    
    然后设置Cookies,并返回:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip
    
    需要注意,如果你直接反馈一个response对象,而不是使用`Response`入参,FastAPI则会直接反馈你封装的response对象。
    
    所以你需要确保你响应数据类型的正确性,如:你可以使用`JSONResponse`来兼容JSON的场景。
    
    同时,你也应当仅反馈通过`response_model`过滤过的数据。
    
    ///
    
    ### 更多信息
    
    /// note | "技术细节"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top