Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 517 for taip (0.03 sec)

  1. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

        return {"fresh_value": fresh_value}
    ```
    
    ## 小结
    
    千万别被本章里这些花里胡哨的词藻吓倒了,其实**依赖注入**系统非常简单。
    
    依赖注入无非是与*路径操作函数*一样的函数罢了。
    
    但它依然非常强大,能够声明任意嵌套深度的「图」或树状的依赖结构。
    
    /// tip | "提示"
    
    这些简单的例子现在看上去虽然没有什么实用价值,
    
    但在**安全**一章中,您会了解到这些例子的用途,
    
    以及这些例子所能节省的代码量。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/query-params.md

    ```
    
    ////
    
    В этом примере, у нас есть 3 параметра запроса:
    
    * `needy`, обязательный `str`.
    * `skip`, типа `int` и со значением по умолчанию `0`.
    * `limit`, необязательный `int`.
    
    /// tip | "Подсказка"
    
    Вы можете использовать класс `Enum` также, как ранее применяли его с [Path-параметрами](path-params.md#_7){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. docs/em/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    /// tip
    
    ❎ `standard`, Uvicorn 🔜 ❎ &amp; ⚙️ 👍 ➕ 🔗.
    
    👈 ✅ `uvloop`, ↕-🎭 💧-♻ `asyncio`, 👈 🚚 🦏 🛠️ 🎭 📈.
    
    ///
    
    ////
    
    //// tab | Hypercorn
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/body-updates.md

    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    ```Python hl_lines="28-35"
    {!> ../../docs_src/body_updates/tutorial002_py310.py!}
    ```
    
    ////
    
    /// tip
    
    👆 💪 🤙 ⚙️ 👉 🎏 ⚒ ⏮️ 🇺🇸🔍 `PUT` 🛠️.
    
    ✋️ 🖼 📥 ⚙️ `PATCH` ↩️ ⚫️ ✍ 👫 ⚙️ 💼.
    
    ///
    
    /// note
    
    👀 👈 🔢 🏷 ✔.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    该参数的值是由 `Depends()` 组成的 `list`:
    
    ```Python hl_lines="17"
    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    路径操作装饰器依赖项(以下简称为**“路径装饰器依赖项”**)的执行或解析方式和普通依赖项一样,但就算这些依赖项会返回值,它们的值也不会传递给*路径操作函数*。
    
    /// tip | "提示"
    
    有些编辑器会检查代码中没使用过的函数参数,并显示错误提示。
    
    在*路径操作装饰器*中使用 `dependencies` 参数,可以确保在执行依赖项的同时,避免编辑器显示错误提示。
    
    使用路径装饰器依赖项还可以避免开发新人误会代码中包含无用的未使用参数。
    
    ///
    
    /// info | "说明"
    
    本例中,使用的是自定义响应头 `X-Key` 和 `X-Token`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body-updates.md

    {!> ../../docs_src/body_updates/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.6+
    
    ```Python hl_lines="30-37"
    {!> ../../docs_src/body_updates/tutorial002.py!}
    ```
    
    ////
    
    /// tip | "Подсказка"
    
    Эту же технику можно использовать и для операции HTTP `PUT`.
    
    Но в приведенном примере используется `PATCH`, поскольку он был создан именно для таких случаев использования.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. docs/fr/docs/deployment/https.md

    # À propos de HTTPS
    
    Il est facile de penser que HTTPS peut simplement être "activé" ou non.
    
    Mais c'est beaucoup plus complexe que cela.
    
    /// tip
    
    Si vous êtes pressé ou si cela ne vous intéresse pas, passez aux sections suivantes pour obtenir des instructions étape par étape afin de tout configurer avec différentes techniques.
    
    ///
    
    Pour apprendre les bases du HTTPS, du point de vue d'un utilisateur, consultez <a href="https://howhttps.works/"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/response-status-code.md

    * `500` e acima são para erros do servidor. Você quase nunca os usa diretamente. Quando algo der errado em alguma parte do código do seu aplicativo ou servidor, ele retornará automaticamente um desses códigos de status.
    
    /// tip | "Dica"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/PairedStatsTest.java

      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (PairedStats pairedStats : ALL_PAIRED_STATS) {
          byte[] pairedStatsByteArray = pairedStats.toByteArray();
    
          // Round trip to byte array and back
          assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/schema-extra-example.md

    {!../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    Essas informações extras serão adicionadas como se encontram no **JSON Schema** de resposta desse modelo e serão usadas na documentação da API.
    
    /// tip | "Dica"
    
    Você pode usar a mesma técnica para estender o JSON Schema e adicionar suas próprias informações extras de forma personalizada.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top