Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 351 for taip (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/advanced/json-base64-bytes.md

    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    
    你可以發送如下的請求:
    
    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip
    
    `aGVsbG8=` 是 `hello` 的 base64 編碼。
    
    ///
    
    接著 Pydantic 會將該 base64 字串解碼,並在模型的 `data` 欄位中提供原始位元組。
    
    你會收到類似以下的回應:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/strict-content-type.md

    Он предоставляет API по адресу
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    Есть также фронтенд по адресу
    
    ```
    http://localhost:8000
    ```
    
    /// tip | Совет
    
    Обратите внимание, что у обоих один и тот же хост.
    
    ///
    
    Через фронтенд вы можете заставлять ИИ-агента выполнять действия от вашего имени.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  3. docs/en/docs/deployment/docker.md

    Using Linux containers has several advantages including **security**, **replicability**, **simplicity**, and others.
    
    /// tip
    
    In a hurry and already know this stuff? Jump to the [`Dockerfile` below 👇](#build-a-docker-image-for-fastapi).
    
    ///
    
    <details>
    <summary>Dockerfile Preview 👀</summary>
    
    ```Dockerfile
    FROM python:3.14
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  4. docs/ja/docs/tutorial/path-params.md

    `str` を継承することで、APIドキュメントは値が `string` 型でなければいけないことを知り、正確にレンダリングできるようになります。
    
    そして、固定値のクラス属性を作ります。すると、その値が使用可能な値となります:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[1,6:9] *}
    
    /// tip | 豆知識
    
    "AlexNet"、"ResNet"そして"LeNet"は機械学習<dfn title="厳密には、Deep Learning のモデルアーキテクチャ">モデル</dfn>の名前です。
    
    ///
    
    ### *パスパラメータ*の宣言 { #declare-a-path-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/templates.md

    Además, antes de eso, en versiones anteriores, el objeto `request` se pasaba como parte de los pares clave-valor en el contexto para Jinja2.
    
    ///
    
    /// tip | Consejo
    
    Al declarar `response_class=HTMLResponse`, la interfaz de usuario de la documentación podrá saber que el response será HTML.
    
    ///
    
    /// note | Detalles técnicos
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/cookie-param-models.md

    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    /// tip
    
    This same technique applies to `Query`, `Cookie`, and `Header`. 😎
    
    ///
    
    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/body-updates.md

    * Veriyi DB'nize kaydedin.
    * Güncellenmiş modeli döndürün.
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *}
    
    /// tip | İpucu
    
    Aynı tekniği HTTP `PUT` operasyonu ile de kullanabilirsiniz.
    
    Ancak buradaki örnek `PATCH` kullanıyor, çünkü bu kullanım senaryoları için tasarlanmıştır.
    
    ///
    
    /// note | Not
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/advanced-dependencies.md

    ```
    
    ...e passar o que quer que isso retorne como valor da dependência em nossa *função de operação de rota* como o parâmetro `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[22] *}
    
    /// tip | Dica
    
    Tudo isso parece não ser natural. E pode não estar muito claro ou aparentar ser útil ainda.
    
    Estes exemplos são intencionalmente simples, porém mostram como tudo funciona.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/events.md

    這裡我們透過在 `yield` 之前把(假的)模型函式放進機器學習模型的字典中,來模擬昂貴的 *startup* 載入模型操作。這段程式會在應用**開始接收請求之前**執行,也就是 *startup* 階段。
    
    接著,在 `yield` 之後,我們卸載模型。這段程式會在應用**完成處理請求之後**、也就是 *shutdown* 前執行。這可以用來釋放資源,例如記憶體或 GPU。
    
    /// tip
    
    `shutdown` 會在你**停止**應用程式時發生。
    
    也許你要啟動新版本,或只是不想再跑它了。🤷
    
    ///
    
    ### Lifespan 函式 { #lifespan-function }
    
    首先要注意的是,我們定義了一個帶有 `yield` 的 async 函式。這和帶有 `yield` 的依賴(Dependencies)非常相似。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/testing.md

    `httpx` と同じ様に `TestClient` オブジェクトを使用します。
    
    チェックしたい Python の標準的な式と共に、シンプルに `assert` 文を記述します (これも `pytest` の標準です)。
    
    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip
    
    テスト関数は `async def` ではなく、通常の `def` であることに注意してください。
    
    また、クライアントへの呼び出しも通常の呼び出しであり、`await` を使用しません。
    
    これにより、煩雑にならずに、`pytest` を直接使用できます。
    
    ///
    
    /// note | 技術詳細
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top