- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 255 for Nath (0.16 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
.github/workflows/test.yml
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 4.4K bytes - Viewed (2) -
docs/en/docs/tutorial/first-steps.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
fastapi/utils.py
def generate_operation_id_for_path( *, name: str, path: str, method: str ) -> str: # pragma: nocover warnings.warn( "fastapi.utils.generate_operation_id_for_path() was deprecated, " "it is not used internally, and will be removed soon", DeprecationWarning, stacklevel=2, ) operation_id = f"{name}{path}" operation_id = re.sub(r"\W", "_", operation_id)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/es/docs/tutorial/cookie-params.md
```Python hl_lines="9" {!> ../../../docs_src/cookie_params/tutorial001.py!} ``` !!! note "Detalles Técnicos" `Cookie` es una clase "hermana" de `Path` y `Query`. También hereda de la misma clase común `Param`. Pero recuerda que cuando importas `Query`, `Path`, `Cookie` y otros de `fastapi`, en realidad son funciones que devuelven clases especiales. !!! info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Apr 19 19:30:26 GMT 2024 - 2.4K bytes - Viewed (0)