Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 882 for _path_ (0.06 seconds)

  1. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations { #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` { #import-path }
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. buildscripts/disable-root.sh

    killall -9 minio
    
    rm -rf ${HOME}/tmp/dist
    
    scheme="http"
    nr_servers=4
    
    addr="localhost"
    args=""
    for ((i = 0; i < $((nr_servers)); i++)); do
    	args="$args $scheme://$addr:$((9100 + i))/${HOME}/tmp/dist/path1/$i"
    done
    
    echo $args
    
    for ((i = 0; i < $((nr_servers)); i++)); do
    	(minio server --address ":$((9100 + i))" $args 2>&1 >/tmp/log$i.txt) &
    done
    
    sleep 10s
    
    if [ ! -f ./mc ]; then
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 22 23:07:14 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    En algunos casos realmente no necesitas el valor de retorno de una dependencia dentro de tu *path operation function*.
    
    O la dependencia no devuelve un valor.
    
    Pero aún necesitas que sea ejecutada/resuelta.
    
    Para esos casos, en lugar de declarar un parámetro de *path operation function* con `Depends`, puedes añadir una `list` de `dependencies` al decorador de *path operation*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # path operation デコレータの依存関係 { #dependencies-in-path-operation-decorators }
    
    場合によっては、*path operation 関数*の中で依存関係の戻り値を実際には必要としないことがあります。
    
    または、依存関係が値を返さない場合もあります。
    
    しかし、それでも実行・解決される必要があります。
    
    そのような場合、`Depends` で *path operation 関数* のパラメータを宣言する代わりに、*path operation デコレータ*に `dependencies` の `list` を追加できます。
    
    ## *path operation デコレータ*に`dependencies`を追加 { #add-dependencies-to-the-path-operation-decorator }
    
    *path operation デコレータ*はオプション引数`dependencies`を受け取ります。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/path-params.md

    你的用戶端會收到像這樣的 JSON 回應:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## 包含路徑的路徑參數 { #path-parameters-containing-paths }
    
    假設你有一個路徑為 `/files/{file_path}` 的「路徑操作」。
    
    但你需要 `file_path` 本身就包含一個「路徑」,像是 `home/johndoe/myfile.txt`。
    
    所以,該檔案的 URL 會是:`/files/home/johndoe/myfile.txt`。
    
    ### OpenAPI 支援 { #openapi-support }
    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)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
            if ((l1 > 1 && path1.charAt(p1 + 1) == '.') || (l2 > 1 && path2.charAt(p2 + 1) == '.')) {
                return true;
            }
    
            return l1 == l2 && path1.regionMatches(true, p1, path2, p2, l1);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Dependências em decoradores de operações de rota { #dependencies-in-path-operation-decorators }
    
    Em alguns casos você não precisa necessariamente do valor de retorno de uma dependência dentro de uma *função de operação de rota*.
    
    Ou a dependência não retorna nenhum valor.
    
    Mas você ainda precisa que ela seja executada/resolvida.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # 路徑操作裝飾器中的依賴 { #dependencies-in-path-operation-decorators }
    
    有時在你的路徑操作函式中,其實不需要某個依賴的回傳值。
    
    或是該依賴根本沒有回傳值。
    
    但你仍需要它被執行/解析。
    
    這種情況下,你可以不在路徑操作函式的參數上使用 `Depends`,而是在路徑操作裝飾器加入一個 `dependencies` 的 `list`。
    
    ## 在路徑操作裝飾器加入 `dependencies` { #add-dependencies-to-the-path-operation-decorator }
    
    路徑操作裝飾器可接受一個可選參數 `dependencies`。
    
    它應該是由 `Depends()` 組成的 `list`:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/path-params.md

    Dans votre client, vous recevrez une réponse JSON comme :
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Paramètres de chemin contenant des chemins { #path-parameters-containing-paths }
    
    Disons que vous avez un *chemin d'accès* avec un chemin `/files/{file_path}`.
    
    Mais vous avez besoin que `file_path` lui-même contienne un *chemin*, comme `home/johndoe/myfile.txt`.
    
    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)
  10. docs/uk/docs/tutorial/path-params.md

    На стороні клієнта ви отримаєте відповідь у форматі JSON, наприклад:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Параметри шляху, що містять шляхи { #path-parameters-containing-paths }
    
    Припустімо, у вас є *операція шляху* зі шляхом `/files/{file_path}`.
    
    Але вам потрібно, щоб `file_path` сам містив *шлях*, наприклад `home/johndoe/myfile.txt`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 14K bytes
    - Click Count (0)
Back to Top