Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for 1212 (0.14 sec)

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

    ## 例
    
    ここでは、上記の型のいくつかを使用したパラメータを持つ*path operation*の例を示します。
    
    ```Python hl_lines="1 2 12-16"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    ```
    
    関数内のパラメータは自然なデータ型を持っていることに注意してください。そして、以下のように通常の日付操作を行うことができます:
    
    ```Python hl_lines="18 19"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    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/tutorial/extra-data-types.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1  2  11-15"
        {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1  2  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/extra-data-types.md

            Бажано використовувати `Annotated` версію, якщо це можливо.
    
        ```Python hl_lines="1  2  11-15"
        {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Бажано використовувати `Annotated` версію, якщо це можливо.
    
        ```Python hl_lines="1  2  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/extra-data-types.md

        !!! tip
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="1  2  11-15"
        {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="1  2  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/extra-data-types.md

    === "Python 3.10+ non-Annotated"
    
        !!! tip
            尽可能选择使用 `Annotated` 的版本。
    
        ```Python hl_lines="1  2  11-15"
        {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            尽可能选择使用 `Annotated` 的版本。
    
        ```Python hl_lines="1  2  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    注意,函数内的参数有原生的数据类型,你可以,例如,执行正常的日期操作,如:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/handling-errors.md

    修复错误时,客户端或用户不能访问错误的内部信息,否则会造成安全隐患。
    
    ### 覆盖 `HTTPException` 错误处理器
    
    同理,也可以覆盖 `HTTPException` 处理器。
    
    例如,只为错误返回纯文本响应,而不是返回 JSON 格式的内容:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    
    ```
    
    !!! note "技术细节"
    
        还可以使用 `from starlette.responses import PlainTextResponse`。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/handling-errors.md

    & ⏪ 👆 🔧 ⚫️, 👆 👩‍💻/👩‍💻 🚫🔜 🚫 ✔️ 🔐 🔗 ℹ 🔃 ❌, 👈 💪 🎦 💂‍♂ ⚠.
    
    ### 🔐 `HTTPException` ❌ 🐕‍🦺
    
    🎏 🌌, 👆 💪 🔐 `HTTPException` 🐕‍🦺.
    
    🖼, 👆 💪 💚 📨 ✅ ✍ 📨 ↩️ 🎻 👫 ❌:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "📡 ℹ"
        👆 💪 ⚙️ `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * Update log style in README.md for GitHub Markdown compatibility. PR [#1200](https://github.com/tiangolo/fastapi/pull/1200) by [#geekgao](https://github.com/geekgao).
    * Add Python venv `env` to `.gitignore`. PR [#1212](https://github.com/tiangolo/fastapi/pull/1212) by [@cassiobotaro](https://github.com/cassiobotaro).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  9. docs/ru/docs/tutorial/extra-data-types.md

    Вот пример *операции пути* с параметрами, который демонстрирует некоторые из вышеперечисленных типов.
    
    === "Python 3.8 и выше"
    
        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    === "Python 3.10 и выше"
    
        ```Python hl_lines="1  2  11-15"
        {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/handling-errors.md

    Do mesmo modo, você pode sobreescrever o `HTTPException`.
    
    Por exemplo, você pode querer retornar uma *response* em *plain text* ao invés de um JSON para os seguintes erros:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Detalhes Técnicos"
        Você pode usar `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top