Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,039 for Python (0.06 seconds)

  1. .github/workflows/pre-commit.yml

              ref: ${{ github.event.pull_request.head.sha }}
              fetch-depth: 0
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version-file: ".python-version"
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              cache-dependency-glob: |
                pyproject.toml
                uv.lock
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### 現代 Python { #just-modern-python }
    
    這一切都基於標準的 **Python 型別**宣告(感謝 Pydantic)。無需學習新的語法,只需使用標準的現代 Python。
    
    如果你需要 2 分鐘來學習如何使用 Python 型別(即使你不使用 FastAPI),可以看看這個簡短的教學:[Python 型別](python-types.md)。
    
    如果你寫帶有 Python 型別的程式碼:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # 宣告一個變數為 string
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. ci/official/containers/ml_build/Dockerfile

    # Setup Python
    COPY setup.python.sh /setup.python.sh
    COPY builder.requirements.txt /builder.requirements.txt
    RUN /setup.python.sh python3.10 /builder.requirements.txt
    RUN /setup.python.sh python3.11 /builder.requirements.txt
    RUN /setup.python.sh python3.13 /builder.requirements.txt
    RUN /setup.python.sh python3.13-nogil /builder.requirements.txt
    RUN /setup.python.sh python3.14 /builder.requirements.txt
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Mar 20 15:35:12 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. 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"
    bazel run --HERMETIC_PYTHON_VERSION=3.13 //tensorflow/tools/pip_package:setup_py_binary -- bdist_wheel --dist-dir "$TFCI_OUTPUT_DIR"
    
    # Get the name of the pure python wheel that was built. This should
    # resolve to either
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 04 22:39:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. .github/workflows/notify-translations.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version-file: ".python-version"
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              enable-cache: true
              cache-dependency-glob: |
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. .github/workflows/topic-repos.yml

            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
              python-version-file: ".python-version"
          - name: Setup uv
            uses: astral-sh/setup-uv@v7
            with:
              enable-cache: true
              cache-dependency-glob: |
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 969 bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/security/http-basic-auth.md

        ...
    ```
    
    但就在 Python 比较完 `johndoe` 的第一个字母 `j` 与 `stanleyjobson` 的 `s` 时,Python 就已经知道这两个字符串不相同了,它会这么想,**没必要浪费更多时间执行剩余字母的对比计算了**。应用立刻就会返回**错误的用户或密码**。
    
    但接下来,攻击者继续尝试 `stanleyjobsox` 和 密码 `love123`。
    
    应用代码会执行类似下面的操作:
    
    ```Python
    if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    此时,Python 要对比 `stanleyjobsox` 与 `stanleyjobson` 中的 `stanleyjobso`,才能知道这两个字符串不一样。因此会多花费几微秒来返回**错误的用户或密码**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. .github/workflows/label-approved.yml

        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v6
        - name: Set up Python
          uses: actions/setup-python@v6
          with:
            python-version-file: ".python-version"
        - name: Setup uv
          uses: astral-sh/setup-uv@v7
          with:
            enable-cache: true
            cache-dependency-glob: |
                pyproject.toml
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  9. fastapi-slim/README.md

    ---
    
    FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.
    
    ## `fastapi-slim`
    
    ⚠️ Do not install this package. ⚠️
    
    This package, `fastapi-slim`, does nothing other than depend on `fastapi`.
    
    All the functionality has been integrated into `fastapi`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 12:33:49 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  10. README.md

    You do that with standard modern Python types.
    
    You don't have to learn a new syntax, the methods or classes of a specific library, etc.
    
    Just standard **Python**.
    
    For example, for an `int`:
    
    ```Python
    item_id: int
    ```
    
    or for a more complex `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...and with that single declaration you get:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
Back to Top