Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 563 for tipo (0.03 sec)

  1. docs/zh/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/body_nested_models/tutorial009.py!}
    ```
    
    ////
    
    /// tip
    
    请记住 JSON 仅支持将 `str` 作为键。
    
    但是 Pydantic 具有自动转换数据的功能。
    
    这意味着,即使你的 API 客户端只能将字符串作为键发送,只要这些字符串内容仅包含整数,Pydantic 就会对其进行转换并校验。
    
    然后你接收的名为 `weights` 的 `dict` 实际上将具有 `int` 类型的键和 `float` 类型的值。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/security/oauth2-scopes.md

                                * `security_scopes.scopes` 包含用于*路径操作* `read_system_status` 的 `[]`(空列表),并且它的依赖项 `get_current_user` 也没有声明任何 `scope`
    
    /// tip | "提示"
    
    此处重要且**神奇**的事情是,`get_current_user` 检查每个*路径操作*时可以使用不同的 `scopes` 列表。
    
    所有这些都依赖于在每个*路径操作*和指定*路径操作*的依赖树中的每个依赖项。
    
    ///
    
    ## `SecurityScopes` 的更多细节
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/security/oauth2-scopes.md

                                * `security_scopes.scopes` 🔜 🔌 `[]` (🕳) *➡ 🛠️* `read_system_status`, ↩️ ⚫️ 🚫 📣 🙆 `Security` ⏮️ `scopes`, & 🚮 🔗, `get_current_user`, 🚫 📣 🙆 `scope` 👯‍♂️.
    
    /// tip
    
    ⚠ & "🎱" 👜 📥 👈 `get_current_user` 🔜 ✔️ 🎏 📇 `scopes` ✅ 🔠 *➡ 🛠️*.
    
    🌐 ⚓️ 🔛 `scopes` 📣 🔠 *➡ 🛠️* & 🔠 🔗 🔗 🌲 👈 🎯 *➡ 🛠️*.
    
    ///
    
    ## 🌖 ℹ 🔃 `SecurityScopes`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. docs/vi/docs/tutorial/first-steps.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    Và nhiều hơn với các toán tử còn lại:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    /// tip
    
    Bạn thoải mái sử dụng mỗi toán tử (phương thức HTTP) như bạn mơ ước.
    
    **FastAPI** không bắt buộc bất kì ý nghĩa cụ thể nào.
    
    Thông tin ở đây được biểu thị như là một chỉ dẫn, không phải là một yêu cầu bắt buộc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/body.md

    しかし、<a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>やほとんどのPythonエディタでも同様なエディターサポートを受けられます:
    
    <img src="/img/tutorial/body/image05.png">
    
    /// tip | "豆知識"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    同じ例では以下のようになります:
    
    ```Python hl_lines="19"
    {!../../docs_src/dependencies/tutorial004.py!}
    ```
    
    ...そして **FastAPI** は何をすべきか知っています。
    
    /// tip | "豆知識"
    
    役に立つというよりも、混乱するようであれば無視してください。それをする*必要*はありません。
    
    それは単なるショートカットです。なぜなら **FastAPI** はコードの繰り返しを最小限に抑えることに気を使っているからです。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/first-steps.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    And the more exotic ones:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    /// tip
    
    You are free to use each operation (HTTP method) as you wish.
    
    **FastAPI** doesn't enforce any specific meaning.
    
    The information here is presented as a guideline, not a requirement.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

        airtime before a decision is made regarding whether they are to be migrated
        to the core.
    *   As every PR requires several CPU/GPU hours of CI testing, we discourage
        submitting PRs to fix one typo, one warning,etc. We recommend fixing the
        same issue at the file level at least (e.g.: fix all typos in a file, fix
        all compiler warnings in a file, etc.)
    *   Tests should follow the
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/generate-clients.md

    ### 尝试客户端代码
    
    现在您可以导入并使用客户端代码,它可能看起来像这样,请注意,您可以为这些方法使用自动补全:
    
    <img src="/img/tutorial/generate-clients/image02.png">
    
    您还将自动补全要发送的数据:
    
    <img src="/img/tutorial/generate-clients/image03.png">
    
    /// tip
    
    请注意, `name` 和 `price` 的自动补全,是通过其在`Item`模型(FastAPI)中的定义实现的。
    
    ///
    
    如果发送的数据字段不符,你也会看到编辑器的错误提示:
    
    <img src="/img/tutorial/generate-clients/image04.png">
    
    响应(response)对象也拥有自动补全:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. docs/uk/docs/python-types.md

    У цьому випадку, `str` це параметр типу переданий у `List` (або `list` у Python 3.9 і вище).
    
    ///
    
    Це означає: "змінна `items` це `list`, і кожен з елементів у цьому списку - `str`".
    
    /// tip
    
    Якщо ви використовуєте Python 3.9 і вище, вам не потрібно імпортувати `List` з `typing`, ви можете використовувати натомість тип `list`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top