Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NOTE (0.39 sec)

  1. docs/em/docs/tutorial/path-operation-configuration.md

        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    👈 👔 📟 🔜 ⚙️ 📨 & 🔜 🚮 🗄 🔗.
    
    !!! note "📡 ℹ"
        👆 💪 ⚙️ `from starlette import status`.
    
        **FastAPI** 🚚 🎏 `starlette.status` `fastapi.status` 🏪 👆, 👩‍💻. ✋️ ⚫️ 👟 🔗 ⚪️➡️ 💃.
    
    ## 🔖
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/path-operation-configuration.md

        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    Dieser Statuscode wird in der Response verwendet und zum OpenAPI-Schema hinzugefügt.
    
    !!! note "Technische Details"
        Sie können auch `from starlette import status` verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/path-operation-configuration.md

    === "Python 3.8+"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    Этот код состояния будет использован в ответе и будет добавлен в схему OpenAPI.
    
    !!! note "Технические детали"
        Вы также можете использовать `from starlette import status`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-operation-configuration.md

        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    Esse código de status será usado na resposta e será adicionado ao esquema OpenAPI.
    
    !!! note "Detalhes Técnicos"
        Você também poderia usar `from starlette import status`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/path-operation-configuration.md

    可以直接传递 `int` 代码, 比如 `404`。
    
    如果记不住数字码的涵义,也可以用 `status` 的快捷常量:
    
    ```Python hl_lines="3  17"
    {!../../../docs_src/path_operation_configuration/tutorial001.py!}
    ```
    
    状态码在响应中使用,并会被添加到 OpenAPI 概图。
    
    !!! note "技术细节"
    
        也可以使用 `from starlette import status` 导入状态码。
    
        **FastAPI** 的`fastapi.status` 和 `starlette.status` 一样,只是快捷方式。实际上,`fastapi.status` 直接继承自 Starlette。
    
    ## `tags` 参数
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/path-operation-configuration.md

    하지만 각 코드의 의미를 모른다면, `status`에 있는 단축 상수들을 사용할수 있습니다:
    
    ```Python hl_lines="3  17"
    {!../../../docs_src/path_operation_configuration/tutorial001.py!}
    ```
    
    각 상태 코드들은 응답에 사용되며, OpenAPI 스키마에 추가됩니다.
    
    !!! note "기술적 세부사항"
        다음과 같이 임포트하셔도 좋습니다. `from starlette import status`.
    
        **FastAPI**는 개발자 여러분의 편의를 위해서 `starlette.status`와 동일한 `fastapi.status`를 제공합니다. 하지만 Starlette에서 직접 온 것입니다.
    
    ## 태그
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-operation-configuration.md

        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    That status code will be used in the response and will be added to the OpenAPI schema.
    
    !!! note "Technical Details"
        You could also use `from starlette import status`.
    
        **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/path-operation-configuration.md

    しかし、それぞれの番号コードが何のためのものか覚えていない場合は、`status`のショートカット定数を使用することができます:
    
    ```Python hl_lines="3  17"
    {!../../../docs_src/path_operation_configuration/tutorial001.py!}
    ```
    
    そのステータスコードはレスポンスで使用され、OpenAPIスキーマに追加されます。
    
    !!! note "技術詳細"
        また、`from starlette import status`を使用することもできます。
    
        **FastAPI** は開発者の利便性を考慮して、`fastapi.status`と同じ`starlette.status`を提供しています。しかし、これはStarletteから直接提供されています。
    
    ## タグ
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:38:26 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top