Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 562 for xpath (0.13 sec)

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

    ```
    /files/{file_path:path}
    ```
    
    In this case, the name of the parameter is `file_path`, and the last part, `:path`, tells it that the parameter should match any *path*.
    
    So, you can use it with:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/path-params.md

    ```
    /files/{file_path:path}
    ```
    
    В этом случае `file_path` - это имя параметра, а часть `:path`, указывает, что параметр должен соответствовать любому *пути*.
    
    Можете использовать так:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "Подсказка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/path-params.md

    ```
    /files/{file_path:path}
    ```
    
    本例中,参数名为 `file_path`,结尾部分的 `:path` 说明该参数应匹配*路径*。
    
    用法如下:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "提示"
    
        注意,包含 `/home/johndoe/myfile.txt` 的路径参数要以斜杠(`/`)开头。
    
        本例中的 URL 是 `/files//home/johndoe/myfile.txt`。注意,`files` 和 `home` 之间要使用**双斜杠**(`//`)。
    
    ## 小结
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 05:35:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/path-params.md

    ```
    /files/{file_path:path}
    ```
    
    Dans ce cas, le nom du paramètre est `file_path`, et la dernière partie, `:path`, indique à Starlette que le paramètre devrait correspondre à un *chemin*.
    
    Vous pouvez donc l'utilisez comme tel :
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "Astuce"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/path-params-numeric-validations.md

    🎏 🌌 👈 👆 💪 📣 🌅 🔬 & 🗃 🔢 🔢 ⏮️ `Query`, 👆 💪 📣 🎏 🆎 🔬 & 🗃 ➡ 🔢 ⏮️ `Path`.
    
    ## 🗄 ➡
    
    🥇, 🗄 `Path` ⚪️➡️ `fastapi`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
        ```
    
    ## 📣 🗃
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  6. 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)
  7. docs/em/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    LeeeeT <******@****.***> 1680341164 +0300
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    김명기 <******@****.***> 1707659385 +0900
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:49:45 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/behind-a-proxy.md

    ```Python hl_lines="3"
    {!../../../docs_src/behind_a_proxy/tutorial002.py!}
    ```
    
    Passing the `root_path` to `FastAPI` would be the equivalent of passing the `--root-path` command line option to Uvicorn or Hypercorn.
    
    ### About `root_path`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  10. tests/test_repeated_parameter_alias.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/{repeated_alias}")
    def get_parameters_with_repeated_aliases(
        path: str = Path(..., alias="repeated_alias"),
        query: str = Query(..., alias="repeated_alias"),
    ):
        return {"path": path, "query": query}
    
    
    client = TestClient(app)
    
    
    def test_get_parameters():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top