- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for stash (0.14 sec)
-
docs/es/docs/tutorial/path-params.md
```Python hl_lines="6" {!../../../docs_src/path_params/tutorial004.py!} ``` !!! tip "Consejo" Podrías necesitar que el parámetro contenga `/home/johndoe/myfile.txt` con un slash inicial (`/`). En este caso la URL sería `/files//home/johndoe/myfile.txt` con un slash doble (`//`) entre `files` y `home`. ## Repaso Con **FastAPI**, usando declaraciones de tipo de Python intuitivas y estándares, obtienes:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.4K bytes - Viewed (0) -
fastapi/applications.py
async def read_items(): return [{"item_id": "Foo"}] ``` With this app, if a client goes to `/items` (without a trailing slash), they will be automatically redirected with an HTTP status code of 307 to `/items/`. """ ), ] = True, docs_url: Annotated[
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
```Python hl_lines="6" {!../../../docs_src/path_params/tutorial004.py!} ``` !!! tip You could need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`). In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`. ## Recap With **FastAPI**, by using short, intuitive and standard Python type declarations, you get:
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/fr/docs/tutorial/path-params.md
{!../../../docs_src/path_params/tutorial004.py!} ``` !!! tip "Astuce" Vous pourriez avoir besoin que le paramètre contienne `/home/johndoe/myfile.txt`, avec un slash au début (`/`). Dans ce cas, l'URL serait : `/files//home/johndoe/myfile.txt`, avec un double slash (`//`) entre `files` et `home`. ## Récapitulatif
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/en/docs/release-notes.md
* This allows having a router for `/cats` and all its *path operations*, while having one of them for `/cats`. * Now it doesn't have to be only `/cats/` (with a trailing slash). * To use it, declare the path in the *path operation* as the empty string (`""`). * PR [#415](https://github.com/tiangolo/fastapi/pull/415) by [@vitalik](https://github.com/vitalik).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1)