Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 873 for Python (0.06 sec)

  1. docs/zh/docs/advanced/path-operation-advanced-configuration.md

    务必确保每个操作路径的 `operation_id` 都是唯一的。
    
    ```Python hl_lines="6"
    {!../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### 使用 *路径操作函数* 的函数名作为 operationId
    
    如果你想用你的 API 的函数名作为 `operationId` 的名字,你可以遍历一遍 API 的函数名,然后使用他们的 `APIRoute.name` 重写每个 *路径操作* 的 `operation_id`。
    
    你应该在添加了所有 *路径操作* 之后执行此操作。
    
    ```Python hl_lines="2 12 13 14 15 16 17 18 19 20 21 24"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/path-params-numeric-validations.md

    ## 🗄 ➡
    
    🥇, 🗄 `Path` ⚪️➡️ `fastapi`:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    ```Python hl_lines="1"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
    ```
    
    ////
    
    ## 📣 🗃
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/vi/docs/index.md

    Bạn định nghĩa bằng cách sử dụng các kiểu dữ liệu chuẩn của Python.
    
    Bạn không phải học một cú pháp mới, các phương thức và class của một thư viện cụ thể nào.
    
    Chỉ cần sử dụng các chuẩn của **Python**.
    
    Ví dụ, với một tham số kiểu `int`:
    
    ```Python
    item_id: int
    ```
    
    hoặc với một model `Item` phức tạp hơn:
    
    ```Python
    item: Item
    ```
    
    ...và với định nghĩa đơn giản đó, bạn có được:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. docs/zh/docs/index.md

    ### 总结
    
    总的来说,你就像声明函数的参数类型一样只声明了**一次**请求参数、请求体等的类型。
    
    你使用了标准的现代 Python 类型来完成声明。
    
    你不需要去学习新的语法、了解特定库的方法或类,等等。
    
    只需要使用标准的 **Python 及更高版本**。
    
    举个例子,比如声明 `int` 类型:
    
    ```Python
    item_id: int
    ```
    
    或者一个更复杂的 `Item` 模型:
    
    ```Python
    item: Item
    ```
    
    ......在进行一次声明之后,你将获得:
    
    * 编辑器支持,包括:
        * 自动补全
        * 类型检查
    * 数据校验:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/security/first-steps.md

    ## Создание `main.py`
    
    Скопируйте пример в файл `main.py`:
    
    //// tab | Python 3.9+
    
    ```Python
    {!> ../../docs_src/security/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    {!> ../../docs_src/security/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ без Annotated
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/body-fields.md

    ## 导入 `Field`
    
    首先,从 Pydantic 中导入 `Field`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="4"
    {!> ../../docs_src/body_fields/tutorial001_an.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-params.md

    # Path-параметры
    
    Вы можете определить "параметры" или "переменные" пути, используя синтаксис форматированных строк Python:
    
    ```Python hl_lines="6-7"
    {!../../docs_src/path_params/tutorial001.py!}
    ```
    
    Значение параметра пути `item_id` будет передано в функцию в качестве аргумента `item_id`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. docs/fr/docs/features.md

    ### Faite en python moderne
    
    Tout est basé sur la déclaration de type standard de **Python 3.8** (grâce à Pydantic). Pas de nouvelles syntaxes à apprendre. Juste du Python standard et moderne.
    
    Si vous souhaitez un rappel de 2 minutes sur l'utilisation des types en Python (même si vous ne comptez pas utiliser FastAPI), jetez un oeil au tutoriel suivant: [Python Types](python-types.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    //tensorflow/python:mixed_precision
    //tensorflow/python:tf_optimizer
    //tensorflow/python:compare_test_proto_py
    //tensorflow/python/framework:test_ops_2
    //tensorflow/python/framework:test_file_system.so
    //tensorflow/python/debug:grpc_tensorflow_server.par
    //tensorflow/python/feature_column:vocabulary_testdata
    //tensorflow/python/util:nest_test_main_lib
    //tensorflow/lite/experimental/examples/lstm:rnn_cell
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 14 18:47:44 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. ci/official/installer_wheel.sh

    if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then
      python3 tensorflow/tools/ci_build/update_version.py --nightly
    fi
    
    # This generates a pure python wheel of the format "*-py3-none-any.whl"
    python3 tensorflow/tools/pip_package/setup.py bdist_wheel --dist-dir "$TFCI_OUTPUT_DIR"
    
    # Get the name of the pure python wheel that was built. This should
    # resolve to either
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 25 17:28:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top