Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for 10 (0.14 sec)

  1. docs/ru/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Kabir Khan - <strong>Microsoft</strong> <a href="https://github.com/tiangolo/fastapi/pull/26" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    "_Мы использовали библиотеку **FastAPI** для создания сервера **REST**, к которому можно делать запросы для получения **прогнозов**. [для Ludwig]_"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. docs/pl/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Kabir Khan - <strong>Microsoft</strong> <a href="https://github.com/tiangolo/fastapi/pull/26" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    "_We adopted the **FastAPI** library to spawn a **REST** server that can be queried to obtain **predictions**. [for Ludwig]_"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  3. docs/it/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Kabir Khan - <strong>Microsoft</strong> <a href="https://github.com/tiangolo/fastapi/pull/26" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    "_We adopted the **FastAPI** library to spawn a **REST** server that can be queried to obtain **predictions**. [for Ludwig]_"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. docs/zh/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Kabir Khan - <strong>微软</strong> <a href="https://github.com/tiangolo/fastapi/pull/26" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    「_我们选择了 **FastAPI** 来创建用于获取**预测结果**的 **REST** 服务。[用于 Ludwig]_」
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/request-forms-and-files.md

        ```
    
    ## Определите параметры `File` и `Form`
    
    Создайте параметры файла и формы таким же образом, как для `Body` или `Query`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="10-12"
        {!> ../../../docs_src/request_forms_and_files/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="9-11"
        {!> ../../../docs_src/request_forms_and_files/tutorial001_an.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/advanced-dependencies.md

    但也可以为依赖项设置参数,避免声明多个不同的函数或类。
    
    假设要创建校验查询参数 `q` 是否包含固定内容的依赖项。
    
    但此处要把待检验的固定内容定义为参数。
    
    ## **可调用**实例
    
    Python 可以把类实例变为**可调用项**。
    
    这里说的不是类本身(类本就是可调用项),而是类实例。
    
    为此,需要声明 `__call__` 方法:
    
    ```Python hl_lines="10"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    本例中,**FastAPI**  使用 `__call__` 检查附加参数及子依赖项,稍后,还要调用它向*路径操作函数*传递值。
    
    ## 参数化实例
    
    接下来,使用 `__init__` 声明用于**参数化**依赖项的实例参数:
    
    ```Python hl_lines="7"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 18:26:57 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/cookie-params.md

        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/cookie_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="7"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 19:30:26 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/query-params-str-validations.md

    ```
    
    👉 🔜 ✔ 📊, 🎦 🆑 ❌ 🕐❔ 📊 🚫 ☑, &amp; 📄 🔢 🗄 🔗 *➡ 🛠️*.
    
    ## 🚮 🌅 🔬
    
    👆 💪 🚮 🔢 `min_length`:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="7"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    === "Python 3.10+ без Annotated"
    
        !!! tip "Подсказка"
            Рекомендуется использовать версию с `Annotated` если возможно.
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/dependencies/tutorial002_py310.py!}
        ```
    
    === "Python 3.6+ без Annotated"
    
        !!! tip "Подсказка"
            Рекомендуется использовать версию с `Annotated` если возможно.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 11:12:19 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/security/get-current-user.md

    # 获取当前用户
    
    上一章中,(基于依赖注入系统的)安全系统向*路径操作函数*传递了 `str` 类型的 `token`:
    
    ```Python hl_lines="10"
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    但这并不实用。
    
    接下来,我们学习如何返回当前用户。
    
    
    ## 创建用户模型
    
    首先,创建 Pydantic 用户模型。
    
    与使用 Pydantic 声明请求体相同,并且可在任何位置使用:
    
    ```Python hl_lines="5  12-16"
    {!../../../docs_src/security/tutorial002.py!}
    ```
    
    ## 创建 `get_current_user` 依赖项
    
    创建 `get_current_user` 依赖项。
    
    还记得依赖项支持子依赖项吗?
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:46:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top