Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 873 for Python (0.11 sec)

  1. docs/pt/docs/advanced/using-request-directly.md

    ## Utilize o objeto `Request` diretamente
    
    Vamos imaginar que você deseja obter o endereço de IP/host do cliente dentro da sua *função de operação de rota*.
    
    Para isso você precisa acessar a requisição diretamente.
    
    ```Python hl_lines="1  7-8"
    {!../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. .github/workflows/codeql-analysis.yml

        strategy:
          fail-fast: false
          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Fri Oct 02 13:24:14 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/static-files.md

    Você pode servir arquivos estáticos automaticamente de um diretório usando `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Importe `StaticFiles`.
    * "Monte" uma instância de `StaticFiles()` em um caminho específico.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "Detalhes técnicos"
    
    Você também pode usar `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. ci/official/containers/ml_build/setup.sources.sh

    # LLVM/Clang: https://apt.llvm.org/
    apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key
    
    # Set up custom sources
    cat >/etc/apt/sources.list.d/custom.list <<SOURCES
    # More Python versions: Deadsnakes
    deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy main
    deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy main
    
    # LLVM/Clang repository
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 03 21:13:05 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. docs/zh/docs/fastapi-cli.md

    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     ╭─ <font color="#8AE234"><b>Python module file</b></font> ─╮
     │                      │
     │  🐍 main.py          │
     │                      │
     ╰──────────────────────╯
    
    <font color="#3465A4">INFO    </font> Importing module <font color="#4E9A06">main</font>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/static-files.md

    # 静的ファイル
    
    `StaticFiles` を使用して、ディレクトリから静的ファイルを自動的に提供できます。
    
    ## `StaticFiles` の使用
    
    * `StaticFiles` をインポート。
    * `StaticFiles()` インスタンスを生成し、特定のパスに「マウント」。
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "技術詳細"
    
    `from starlette.staticfiles import StaticFiles` も使用できます。
    
    **FastAPI**は、開発者の利便性のために、`starlette.staticfiles` と同じ `fastapi.staticfiles` を提供します。しかし、実際にはStarletteから直接渡されています。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/openapi-webhooks.md

    Quando você cria uma aplicação com o **FastAPI**, existe um atributo chamado `webhooks`, que você utilizar para defini-los da mesma maneira que você definiria as suas **operações de rotas**, utilizando por exemplo `@app.webhooks.post()`.
    
    ```Python hl_lines="9-13  36-53"
    {!../../docs_src/openapi_webhooks/tutorial001.py!}
    ```
    
    Os webhooks que você define aparecerão no esquema do **OpenAPI** e na **página de documentação** gerada automaticamente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/additional-status-codes.md

    ✋️ 👆 💚 ⚫️ 🚫 🆕 🏬. &amp; 🕐❔ 🏬 🚫 🔀 ⏭, ⚫️ ✍ 👫, &amp; 📨 🇺🇸🔍 👔 📟 2️⃣0️⃣1️⃣ "✍".
    
    🏆 👈, 🗄 `JSONResponse`, &amp; 📨 👆 🎚 📤 🔗, ⚒ `status_code` 👈 👆 💚:
    
    ```Python hl_lines="4  25"
    {!../../docs_src/additional_status_codes/tutorial001.py!}
    ```
    
    /// warning
    
    🕐❔ 👆 📨 `Response` 🔗, 💖 🖼 🔛, ⚫️ 🔜 📨 🔗.
    
    ⚫️ 🏆 🚫 🎻 ⏮️ 🏷, ♒️.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. docs/ru/docs/benchmarks.md

    Но при просмотре и сравнении замеров производительности следует иметь в виду нижеописанное.
    
    ## Замеры производительности и скорости
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 13 17:52:11 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ```
    
    #### Option B: Paste your code here or provide a link to a custom end-to-end colab
    
    ```
    (You can paste links or attach files by dragging & dropping them below)
    - Include code to invoke the TFLite Converter Python API and the errors.
    - Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
    ```
    
    ### 3. Failure after conversion
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top