Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,854 for xpath (0.15 sec)

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

        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    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/pt/docs/tutorial/path-operation-configuration.md

        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    === "Python 3.9 and above"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py39.py!}
        ```
    
    === "Python 3.10 and above"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    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)
  3. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration
    
    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    !!! warning
        Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ## Response Status Code
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    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)
  4. docs/ja/docs/tutorial/path-operation-configuration.md

    # Path Operationの設定
    
    *path operationデコレータ*を設定するためのパラメータがいくつかあります。
    
    !!! warning "注意"
        これらのパラメータは*path operation関数*ではなく、*path operationデコレータ*に直接渡されることに注意してください。
    
    ## レスポンスステータスコード
    
    *path operation*のレスポンスで使用する(HTTP)`status_code`を定義することができます。
    
    `404`のように`int`のコードを直接渡すことができます。
    
    しかし、それぞれの番号コードが何のためのものか覚えていない場合は、`status`のショートカット定数を使用することができます:
    
    ```Python hl_lines="3  17"
    {!../../../docs_src/path_operation_configuration/tutorial001.py!}
    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)
  5. docs/zh/docs/tutorial/path-operation-configuration.md

    ```Python hl_lines="17  22  27"
    {!../../../docs_src/path_operation_configuration/tutorial002.py!}
    ```
    
    OpenAPI 概图会自动添加标签,供 API 文档接口使用:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ## `summary` 和 `description` 参数
    
    路径装饰器还支持 `summary` 和 `description` 这两个参数:
    
    ```Python hl_lines="20-21"
    {!../../../docs_src/path_operation_configuration/tutorial003.py!}
    ```
    
    ## 文档字符串(`docstring`)
    
    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

    ```Python hl_lines="17  22  27"
    {!../../../docs_src/path_operation_configuration/tutorial002.py!}
    ```
    
    전달된 태그들은 OpenAPI의 스키마에 추가되며, 자동 문서 인터페이스에서 사용됩니다:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ## 요약과 기술
    
    `summary`와 `description`을 추가할 수 있습니다:
    
    ```Python hl_lines="20-21"
    {!../../../docs_src/path_operation_configuration/tutorial003.py!}
    ```
    
    ## 독스트링으로 만든 기술
    
    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/de/docs/tutorial/path-params-numeric-validations.md

    So wie Sie mit `Query` für Query-Parameter zusätzliche Validierungen und Metadaten hinzufügen können, können Sie das mittels `Path` auch für Pfad-Parameter tun.
    
    ## `Path` importieren
    
    Importieren Sie zuerst `Path` von `fastapi`, und importieren Sie `Annotated`.
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/path-operation-advanced-configuration.md

    ### Usando el nombre de la *función de la operación de path* en el operationId
    
    Si quieres usar tus nombres de funciones de API como `operationId`s, puedes iterar sobre todos ellos y sobrescribir `operation_id` de cada *operación de path* usando su `APIRoute.name`.
    
    Deberías hacerlo después de adicionar todas tus *operaciones de path*.
    
    ```Python hl_lines="2 12 13 14 15 16 17 18 19 20 21 24"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial002.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jul 04 12:49:31 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations
    
    In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
    
    ## Import Path
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/path-params-numeric-validations.md

    # Path-параметры и валидация числовых данных
    
    Так же, как с помощью `Query` вы можете добавлять валидацию и метаданные для query-параметров, так и с помощью `Path` вы можете добавлять такую же валидацию и метаданные для path-параметров.
    
    ## Импорт Path
    
    Сначала импортируйте `Path` из `fastapi`, а также импортируйте `Annotated`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top