Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,745 for pathOf (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. docs/zh/docs/tutorial/path-params.md

    通过浏览器访问 <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>,接收如下 HTTP 错误信息:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值 (`"foo"`)的类型不是 `int`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial002.py

                    }
                ]
            }
        )
    
    
    def test_post_files(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. 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`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 단일 *경로 작동* 지원중단
    
    단일 *경로 작동*을 없애지 않고 <abbr title="구식, 사용하지 않는것이 권장됨">지원중단</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
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        private static boolean pathNamesPossiblyEqual ( String path1, String path2 ) {
            int p1, p2, l1, l2;
    
            // if unsure return this method returns true
    
            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) == '.' )
                return true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
Back to top