- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 87 for item_id (0.05 sec)
-
docs/pl/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.6K bytes - Viewed (0) -
docs/en/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ``` The `fastapi dev` server should reload automatically.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.3K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial001.py hl[6:7] *} Der Wert des Pfad-Parameters `item_id` wird Ihrer Funktion als das Argument `item_id` รผbergeben. Wenn Sie dieses Beispiel ausfรผhren und auf <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a> gehen, sehen Sie als Response: ```JSON {"item_id":"foo"} ``` ## Pfad-Parameter mit Typen
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 10K bytes - Viewed (0) -
docs/it/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Optional[str] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.5K bytes - Viewed (0) -
docs/de/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.1K bytes - Viewed (0) -
docs/fa/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 26K bytes - Viewed (0) -
docs/yo/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 24.1K bytes - Viewed (0) -
docs/em/docs/tutorial/path-params-numeric-validations.md
## ๐ โก ๐ฅ, ๐ `Path` โช๏ธโก๏ธ `fastapi`: {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[3] *} ## ๐ฃ ๐ ๐ ๐ช ๐ฃ ๐ ๐ ๐ข `Query`. ๐ผ, ๐ฃ `title` ๐ ๐ฒ โก ๐ข `item_id` ๐ ๐ช ๐: {* ../../docs_src/path_params_numeric_validations/tutorial001.py hl[10] *} /// note โก ๐ข ๐ง โ โซ๏ธ โ๏ธ ๐ โก. , ๐ ๐ ๐ฃ โซ๏ธ โฎ๏ธ `...` โข โซ๏ธ โ.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial001.py hl[6:7] *} ๊ฒฝ๋ก ๋งค๊ฐ๋ณ์ `item_id`์ ๊ฐ์ ํจ์์ `item_id` ์ธ์๋ก ์ ๋ฌ๋ฉ๋๋ค. ๊ทธ๋์ ์ด ์์ ๋ฅผ ์คํํ๊ณ <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>๋ก ์ด๋ํ๋ฉด, ๋ค์ ์๋ต์ ๋ณผ ์ ์์ต๋๋ค: ```JSON {"item_id":"foo"} ``` ## ํ์ ์ด ์๋ ๋งค๊ฐ๋ณ์ ํ์ด์ฌ ํ์ค ํ์ ์ด๋ ธํ ์ด์ ์ ์ฌ์ฉํ์ฌ ํจ์์ ์๋ ๊ฒฝ๋ก ๋งค๊ฐ๋ณ์์ ํ์ ์ ์ ์ธํ ์ ์์ต๋๋ค:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/fr/docs/deployment/docker.md
from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Optional[str] = None): return {"item_id": item_id, "q": q} ``` * Vous devriez maintenant avoir une structure de rรฉpertoire telle queย : ``` . โโโ app โ โโโ main.py โโโ Dockerfile ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 7.5K bytes - Viewed (0)