Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for 1212 (0.19 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:08:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  7. docs/ko/docs/tutorial/middleware.md

    *경로 작동*을 받기 전 `request`와 함께 작동할 수 있는 코드를 추가할 수 있습니다.
    
    그리고 `response` 또한 생성된 후 반환되기 전에 코드를 추가 할 수 있습니다.
    
    예를 들어, 요청을 수행하고 응답을 생성하는데 까지 걸린 시간 값을 가지고 있는 `X-Process-Time` 같은 사용자 정의 헤더를 추가할 수 있습니다.
    
    ```Python hl_lines="10  12-13"
    {!../../../docs_src/middleware/tutorial001.py!}
    ```
    
    ## 다른 미들웨어
    
    미들웨어에 대한 더 많은 정보는 [숙련된 사용자 안내서: 향상된 미들웨어](../advanced/middleware.md){.internal-link target=\_blank}에서 확인할 수 있습니다.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Jan 31 14:35:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/middleware.md

    ### ⏭ & ⏮️ `response`
    
    👆 💪 🚮 📟 🏃 ⏮️ `request`, ⏭ 🙆 *➡ 🛠️* 📨 ⚫️.
    
    & ⏮️ `response` 🏗, ⏭ 🛬 ⚫️.
    
    🖼, 👆 💪 🚮 🛃 🎚 `X-Process-Time` ⚗ 🕰 🥈 👈 ⚫️ ✊ 🛠️ 📨 & 🏗 📨:
    
    ```Python hl_lines="10  12-13"
    {!../../../docs_src/middleware/tutorial001.py!}
    ```
    
    ## 🎏 🛠️
    
    👆 💪 ⏪ ✍ 🌖 🔃 🎏 🛠️ [🏧 👩‍💻 🦮: 🏧 🛠️](../advanced/middleware.md){.internal-link target=_blank}.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/custom-response.md

    {!../../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### 对类似文件的对象使用 `StreamingResponse`
    
    如果您有类似文件的对象(例如,由 `open()` 返回的对象),则可以在 `StreamingResponse` 中将其返回。
    
    包括许多与云存储,视频处理等交互的库。
    
    ```Python hl_lines="2  10-12  14"
    {!../../../docs_src/custom_response/tutorial008.py!}
    ```
    
    !!! tip "小贴士"
        注意在这里,因为我们使用的是不支持 `async` 和 `await` 的标准 `open()`,我们使用普通的 `def` 声明了路径操作。
    
    ### `FileResponse`
    
    异步传输文件作为响应。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.8K bytes
    - Viewed (1)
  10. docs/en/docs/tutorial/handling-errors.md

    The same way, you can override the `HTTPException` handler.
    
    For example, you could want to return a plain text response instead of JSON for these errors:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top