Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,936 for pathf (0.03 sec)

  1. android/guava/src/com/google/common/io/MoreFiles.java

        }
      }
    
      /**
       * Returns a path to the parent directory of the given path. If the path actually has a parent
       * path, this is simple. Otherwise, we need to do some trickier things. Returns null if the path
       * is a root or is the empty path.
       */
      @CheckForNull
      private static Path getParentPath(Path path) {
        Path parent = path.getParent();
    
        // Paths that have a parent:
        if (parent != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/MoreFiles.java

        }
      }
    
      /**
       * Returns a path to the parent directory of the given path. If the path actually has a parent
       * path, this is simple. Otherwise, we need to do some trickier things. Returns null if the path
       * is a root or is the empty path.
       */
      @CheckForNull
      private static Path getParentPath(Path path) {
        Path parent = path.getParent();
    
        // Paths that have a parent:
        if (parent != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    	// Add trim string "{GOROOT}/src/" into trimStrings
    	trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)}
    
    	// Add all possible path from GOPATH=path1:path2...:pathN
    	// as "{path#}/src/" into trimStrings
    	for _, goPathString := range goPathList {
    		trimStrings = append(trimStrings, filepath.Join(goPathString, "src")+string(filepath.Separator))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K 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"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

                ]
            }
        )
    
    
    def test_post_files_and_token(tmp_path, app: FastAPI):
        patha = tmp_path / "test.txt"
        pathb = tmp_path / "testb.txt"
        patha.write_text("<file content>")
        pathb.write_text("<file b content>")
    
        client = TestClient(app)
        with patha.open("rb") as filea, pathb.open("rb") as fileb:
            response = client.post(
                "/files/",
                data={"token": "foo"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

            }
        )
    
    
    @needs_py39
    def test_post_files_and_token(tmp_path, app: FastAPI):
        patha = tmp_path / "test.txt"
        pathb = tmp_path / "testb.txt"
        patha.write_text("<file content>")
        pathb.write_text("<file b content>")
    
        client = TestClient(app)
        with patha.open("rb") as filea, pathb.open("rb") as fileb:
            response = client.post(
                "/files/",
                data={"token": "foo"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-params.md

    # Path-параметры
    
    Вы можете определить "параметры" или "переменные" пути, используя синтаксис форматированных строк Python:
    
    ```Python hl_lines="6-7"
    {!../../docs_src/path_params/tutorial001.py!}
    ```
    
    Значение параметра пути `item_id` будет передано в функцию в качестве аргумента `item_id`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    Et dans le fichier openapi généré (`/openapi.json`), vous verrez également votre extension dans le cadre du *chemin* spécifique :
    
    ```JSON hl_lines="22"
    {
        "openapi": "3.0.2",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/path-params.md

    `str`、 `float` 、 `bool` および他の多くの複雑なデータ型を型宣言に使用できます。
    
    これらのいくつかについては、チュートリアルの次の章で説明します。
    
    ## 順序の問題
    
    *path operations* を作成する際、固定パスをもつ状況があり得ます。
    
    `/users/me` から、現在のユーザに関するデータを取得するとします。
    
    さらに、ユーザIDによって特定のユーザに関する情報を取得するパス  `/users/{user_id}` ももつことができます。
    
    *path operations* は順に評価されるので、 `/users/me` が `/users/{user_id}` よりも先に宣言されているか確認する必要があります:
    
    ```Python hl_lines="6 11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 😢 *➡ 🛠️*
    
    🚥 👆 💪 ™ *➡ 🛠️* <abbr title="obsolete, recommended not to use it">😢</abbr>, ✋️ 🍵 ❎ ⚫️, 🚶‍♀️ 🔢 `deprecated`:
    
    ```Python hl_lines="16"
    {!../../docs_src/path_operation_configuration/tutorial006.py!}
    ```
    
    ⚫️ 🔜 🎯 ™ 😢 🎓 🩺:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top