Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 608 for latest (0.22 sec)

  1. docs/ja/docs/tutorial/extra-data-types.md

    * `datetime.timedelta`:
        * Pythonの`datetime.timedelta`です。
        * リクエストとレスポンスでは合計秒数の`float`で表現されます。
        * Pydanticでは「ISO 8601 time diff encoding」として表現することも可能です。<a href="https://docs.pydantic.dev/latest/concepts/serialization/" class="external-link" target="_blank">詳細はドキュメントを参照してください</a>。
    * `frozenset`:
        * リクエストとレスポンスでは`set`と同じように扱われます:
            * リクエストでは、リストが読み込まれ、重複を排除して`set`に変換されます。
            * レスポンスでは`set`が`list`に変換されます。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/en/docs/contributing.md

        ```console
        $ Get-Command pip
    
        some/directory/fastapi/env/bin/pip
        ```
    
        </div>
    
    If it shows the `pip` binary at `env/bin/pip` then it worked. 🎉
    
    Make sure you have the latest pip version on your local environment to avoid errors on the next steps:
    
    <div class="termy">
    
    ```console
    $ python -m pip install --upgrade pip
    
    ---> 100%
    ```
    
    </div>
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/handling-errors.md

    ```
    
    #### `RequestValidationError`と`ValidationError`
    
    !!! warning "注意"
        これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。
    
    **FastAPI** は`response_model`でPydanticモデルを使用していて、データにエラーがあった場合、ログにエラーが表示されるようにこれを使用しています。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/sql-databases.md

        ```
    
    !!! tip
        请注意,读取用户(从 API 返回)时将使用不包括`password`的`User` Pydantic*模型*。
    
    ### 使用 Pydantic 的`orm_mode`
    
    现在,在用于查询的 Pydantic*模型*`Item`中`User`,添加一个内部`Config`类。
    
    此类[`Config`](https://docs.pydantic.dev/latest/api/config/)用于为 Pydantic 提供配置。
    
    在`Config`类中,设置属性`orm_mode = True`。
    
    === "Python 3.10+"
    
        ```Python hl_lines="13  17-18  29  34-35"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    If you can use the **latest versions of Python**, use the examples for the latest version, those will have the **best and simplest syntax**, for example, "**Python 3.10+**".
    
    #### List
    
    For example, let's define a variable to be a `list` of `str`.
    
    === "Python 3.9+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! tip
        Pydantic, ❔ ⚫️❔ 🏋️ 🌐 💽 🔬 &amp; 🛠️ FastAPI, ✔️ 🎁 🎭 🕐❔ 👆 ⚙️ `Optional` ⚖️ `Union[Something, None]` 🍵 🔢 💲, 👆 💪 ✍ 🌅 🔃 ⚫️ Pydantic 🩺 🔃 <a href="https://docs.pydantic.dev/latest/concepts/models/#required-optional-fields" class="external-link" target="_blank">✔ 📦 🏑</a>.
    
    ### ⚙️ Pydantic `Required` ↩️ ❕ (`...`)
    
    🚥 👆 💭 😬 ⚙️ `...`, 👆 💪 🗄 &amp; ⚙️ `Required` ⚪️➡️ Pydantic:
    
    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)
  7. docs/em/docs/advanced/settings.md

    👈 ⛓ 👈 🙆 💲 ✍ 🐍 ⚪️➡️ 🌐 🔢 🔜 `str`, &amp; 🙆 🛠️ 🎏 🆎 ⚖️ 🔬 ✔️ 🔨 📟.
    
    ## Pydantic `Settings`
    
    👐, Pydantic 🚚 👑 🚙 🍵 👫 ⚒ 👟 ⚪️➡️ 🌐 🔢 ⏮️ <a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/" class="external-link" target="_blank">Pydantic: ⚒ 🧾</a>.
    
    ### ✍ `Settings` 🎚
    
    🗄 `BaseSettings` ⚪️➡️ Pydantic &amp; ✍ 🎧-🎓, 📶 🌅 💖 ⏮️ Pydantic 🏷.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/schema-extra-example.md

    # スキーマの追加 - 例
    
    JSON Schemaに追加する情報を定義することができます。
    
    一般的なユースケースはこのドキュメントで示されているように`example`を追加することです。
    
    JSON Schemaの追加情報を宣言する方法はいくつかあります。
    
    ## Pydanticの`schema_extra`
    
    <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Pydanticのドキュメント: スキーマのカスタマイズ</a>で説明されているように、`Config`と`schema_extra`を使ってPydanticモデルの例を宣言することができます:
    
    ```Python hl_lines="15 16 17 18 19 20 21 22 23"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/events.md

    Sie könnten das auf der obersten Ebene des Moduls/der Datei machen, aber das würde auch bedeuten, dass **das Modell geladen wird**, selbst wenn Sie nur einen einfachen automatisierten Test ausführen, dann wäre dieser Test **langsam**, weil er warten müsste, bis das Modell geladen ist, bevor er einen davon unabhängigen Teil des Codes ausführen könnte.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:59 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/events.md

    ## Detalhes técnicos
    
    Só um detalhe técnico para nerds curiosos. 🤓
    
    Por baixo, na especificação técnica ASGI, essa é a parte do <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Protocolo Lifespan</a>, e define eventos chamados `startup` e `shutdown`.
    
    !!! info "Informação"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top