Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,276 for path2 (0.13 sec)

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

    === "Python 3.10+"
    
        ```Python hl_lines="1  15"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```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 Oct 17 05:59:11 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/path-operation-advanced-configuration.md

    👆 🔜 ✔️ ⚒ 💭 👈 ⚫️ 😍 🔠 🛠️.
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### ⚙️ *➡ 🛠️ 🔢* 📛 {
    
    🚥 👆 💚 ⚙️ 👆 🔗' 🔢 📛 `operationId`Ⓜ, 👆 💪 🔁 🤭 🌐 👫 & 🔐 🔠 *➡ 🛠️* `operation_id` ⚙️ 👫 `APIRoute.name`.
    
    👆 🔜 ⚫️ ⏮️ ❎ 🌐 👆 *➡ 🛠️*.
    
    ```Python hl_lines="2  12-21  24"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial002.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.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/",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. internal/lock/lock_windows.go

    	// paths or paths containing .. elements. For now,
    	// \\server\share paths are not converted to
    	// \\?\UNC\server\share paths because the rules for doing so
    	// are less well-specified.
    	if len(path) >= 2 && path[:2] == `\\` {
    		// Don't canonicalize UNC paths.
    		return path
    	}
    	if !filepath.IsAbs(path) {
    		// Relative path
    		return path
    	}
    
    	const prefix = `\\?`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top