Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 777 for blank (0.03 sec)

  1. CHANGELOG/CHANGELOG-1.22.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
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/security/http-basic-auth.md

    <img src="/img/tutorial/security/image12.png">
    
    ## 检查用户名
    
    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    为此要使用 Python 标准模块 <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> 检查用户名与密码。
    
    `secrets.compare_digest()` 需要仅包含 ASCII 字符(英语字符)的 `bytes` 或 `str`,这意味着它不适用于像`á`一样的字符,如 `Sebastián`。
    
    为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/generate-clients.md

    ## OpenAPI 客户端生成
    
    有许多工具可以从**OpenAPI**生成客户端。
    
    一个常见的工具是 <a href="https://openapi-generator.tech/" class="external-link" target="_blank">OpenAPI Generator</a>。
    
    如果您正在开发**前端**,一个非常有趣的替代方案是 <a href="https://github.com/hey-api/openapi-ts" class="external-link" target="_blank">openapi-ts</a>。
    
    ## 生成一个 TypeScript 前端客户端
    
    让我们从一个简单的 FastAPI 应用开始:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="7-9  12-13  16-17  21"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/query-params-str-validations.md

    {!../../docs_src/query_params_str_validations/tutorial006b.py!}
    ```
    
    /// info
    
    如果你之前没见过 `...` 这种用法:它是一个特殊的单独值,它是 <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">Python 的一部分并且被称为「省略号」</a>。
    Pydantic 和 FastAPI 使用它来显式的声明需要一个值。
    
    ///
    
    这将使 **FastAPI** 知道此查询参数是必需的。
    
    ### 使用`None`声明必需参数
    
    你可以声明一个参数可以接收`None`值,但它仍然是必需的。这将强制客户端发送一个值,即使该值是`None`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/security/simple-oauth2.md

    )
    ```
    
    /// info | Informação
    
    Para uma explicação mais completa de `**user_dict`, verifique [a documentação para **Extra Models**](../extra-models.md#about-user_indict){.internal-link target=_blank}.
    
    ///
    
    ## Retorne o token
    
    A resposta do endpoint `token` deve ser um objeto JSON.
    
    Deve ter um `token_type`. No nosso caso, como estamos usando tokens "Bearer", o tipo de token deve ser "`bearer`".
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/query-params-str-validations.md

    {!../../docs_src/query_params_str_validations/tutorial006b.py!}
    ```
    
    /// info
    
    🚥 👆 🚫 👀 👈 `...` ⏭: ⚫️ 🎁 👁 💲, ⚫️ <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">🍕 🐍 &amp; 🤙 "❕"</a>.
    
    ⚫️ ⚙️ Pydantic &amp; FastAPI 🎯 📣 👈 💲 ✔.
    
    ///
    
    👉 🔜 ➡️ **FastAPI** 💭 👈 👉 🔢 ✔.
    
    ### ✔ ⏮️ `None`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/dependencies/index.md

    Se você utiliza uma versão anterior, ocorrerão erros ao tentar utilizar `Annotated`.
    
    Certifique-se de [Atualizar a versão do FastAPI](../../deployment/versions.md#atualizando-as-versoes-do-fastapi){.internal-link target=_blank} para pelo menos 0.95.1 antes de usar `Annotated`.
    
    ///
    
    ### Importando `Depends`
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/path-operation-configuration.md

    👆 💪 ✍ <a href="https://en.wikipedia.org/wiki/Markdown" class="external-link" target="_blank">✍</a> #️⃣ , ⚫️ 🔜 🔬 &amp; 🖥 ☑ (✊ 🔘 🏧 #️⃣ 📐).
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="19-27"
    {!> ../../docs_src/path_operation_configuration/tutorial004.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/query-params.md

    ```
    
    ////
    
    👉 💼, 📤 3️⃣ 🔢 🔢:
    
    * `needy`, ✔ `str`.
    * `skip`, `int` ⏮️ 🔢 💲 `0`.
    * `limit`, 📦 `int`.
    
    /// tip
    
    👆 💪 ⚙️ `Enum`Ⓜ 🎏 🌌 ⏮️ [➡ 🔢](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
    - 4.4K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/query-params.md

    * `skip`, varsayılan değeri `0` olan bir `int`.
    * `limit`, isteğe bağlı bir `int`.
    
    /// tip | "İpucu"
    
    Ayrıca, [Yol Parametrelerinde](path-params.md#on-tanml-degerler){.internal-link target=_blank} de kullanıldığı şekilde `Enum` sınıfından faydalanabilirsiniz.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top