Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,949 for xpath (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/tutorial/path-params.md

    # 路徑參數 { #path-parameters }
    
    你可以用與 Python 格式化字串相同的語法來宣告路徑「參數」或「變數」:
    
    {* ../../docs_src/path_params/tutorial001_py310.py hl[6:7] *}
    
    路徑參數 `item_id` 的值會作為引數 `item_id` 傳入你的函式。
    
    所以,如果你執行這個範例並前往 [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo),你會看到這樣的回應:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## 具型別的路徑參數 { #path-parameters-with-types }
    
    你可以在函式中使用標準的 Python 型別註記為路徑參數宣告型別:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/path-params.md

    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Path İçeren Path Parametreleri { #path-parameters-containing-paths }
    
    Diyelim ki `/files/{file_path}` path'ine sahip bir *path operation*'ınız var.
    
    Ama `file_path`'in kendisinin `home/johndoe/myfile.txt` gibi bir *path* içermesi gerekiyor.
    
    Böylece, o dosyanın URL'si şu şekilde olur: `/files/home/johndoe/myfile.txt`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/path-params.md

    ### Конвертер шляху { #path-convertor }
    
    Використовуючи опцію безпосередньо зі Starlette, ви можете оголосити *параметр шляху*, що містить *шлях*, використовуючи URL на кшталт:
    
    ```
    /files/{file_path:path}
    ```
    
    У цьому випадку ім’я параметра — `file_path`, а остання частина `:path` вказує, що параметр має відповідати будь-якому *шляху*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/path-params.md

    ### Convertisseur de chemin { #path-convertor }
    
    En utilisant une option directement depuis Starlette, vous pouvez déclarer un *paramètre de chemin* contenant un *chemin* avec une URL comme :
    
    ```
    /files/{file_path:path}
    ```
    
    Dans ce cas, le nom du paramètre est `file_path`, et la dernière partie, `:path`, indique que le paramètre doit correspondre à n'importe quel *chemin*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/path-params.md

    ### Pfad-Konverter { #path-convertor }
    
    Mittels einer Option direkt von Starlette können Sie einen *Pfad-Parameter* deklarieren, der einen Pfad enthalten soll, indem Sie eine URL wie folgt definieren:
    
    ```
    /files/{file_path:path}
    ```
    
    In diesem Fall ist der Name des Parameters `file_path`. Der letzte Teil, `:path`, sagt aus, dass der Parameter ein *Pfad* sein soll.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/path-params.md

    # 경로 매개변수 { #path-parameters }
    
    파이썬의 포맷 문자열 리터럴에서 사용되는 문법을 이용하여 경로 "매개변수" 또는 "변수"를 선언할 수 있습니다:
    
    {* ../../docs_src/path_params/tutorial001_py310.py hl[6:7] *}
    
    경로 매개변수 `item_id`의 값은 함수의 `item_id` 인자로 전달됩니다.
    
    그래서 이 예제를 실행하고 [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo)로 이동하면, 다음 응답을 볼 수 있습니다:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## 타입이 있는 경로 매개변수 { #path-parameters-with-types }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/path-operation-configuration.md

    # Path Operation Yapılandırması { #path-operation-configuration }
    
    Onu yapılandırmak için *path operation decorator*’ınıza geçebileceğiniz çeşitli parametreler vardır.
    
    /// warning | Uyarı
    
    Bu parametrelerin *path operation function*’ınıza değil, doğrudan *path operation decorator*’ına verildiğine dikkat edin.
    
    ///
    
    ## Response Status Code { #response-status-code }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/path-operation-configuration.md

    # Path Operationの設定 { #path-operation-configuration }
    
    *path operationデコレータ*を設定するためのパラメータがいくつかあります。
    
    /// warning | 注意
    
    これらのパラメータは*path operationデコレータ*に直接渡され、*path operation関数*に渡されないことに注意してください。
    
    ///
    
    ## レスポンスステータスコード { #response-status-code }
    
    *path operation*のレスポンスで使用する(HTTP)`status_code`を定義することができます。
    
    `404`のように`int`のコードを直接渡すことができます。
    
    しかし、それぞれの番号コードが何のためのものか覚えていない場合は、`status`のショートカット定数を使用することができます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## *경로 처리* 지원중단하기 { #deprecate-a-path-operation }
    
    *경로 처리*를 제거하지 않고 <dfn title="구식이며 사용하지 않는 것이 권장됨">지원중단</dfn>으로 표시해야 한다면, `deprecated` 매개변수를 전달하면 됩니다:
    
    {* ../../docs_src/path_operation_configuration/tutorial006_py310.py hl[16] *}
    
    대화형 문서에서 지원중단으로 명확하게 표시됩니다:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration { #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 { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top