- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 396 for item_1 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/ru/docs/tutorial/path-params-numeric-validations.md
/// ## Определите метаданные { #declare-metadata } Вы можете указать все те же параметры, что и для `Query`. Например, чтобы указать значение метаданных `title` для path-параметра `item_id`, вы можете написать: {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *} /// note | ПримечаниеCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/uk/docs/tutorial/handling-errors.md
Якщо клієнт робить запит за шляхом `http://example.com/items/foo` (де `item_id` `"foo"`), він отримає код статусу HTTP 200 і JSON відповідь: ```JSON { "item": "The Foo Wrestlers" } ``` Але якщо клієнт робить запит на `http://example.com/items/bar` (де `item_id` має не існуюче значення `"bar"`), то отримає код статусу HTTP 404 (помилка «не знайдено») та JSON відповідь: ```JSON { "detail": "Item not found" } ``` /// tip | Порада
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 13.9K bytes - Click Count (0) -
docs/tr/docs/tutorial/handling-errors.md
Bu örnekte, client var olmayan bir ID ile bir item istediğinde, `404` status code’u ile bir exception raise edelim: {* ../../docs_src/handling_errors/tutorial001_py310.py hl[11] *} ### Ortaya Çıkan Response { #the-resulting-response } Client `http://example.com/items/foo` (bir `item_id` `"foo"`) isterse, HTTP status code olarak 200 ve şu JSON response’u alır: ```JSON { "item": "The Foo Wrestlers" } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 9.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/query-params.md
У цьому випадку, якщо ви перейдете за: ``` http://127.0.0.1:8000/items/foo?short=1 ``` або ``` http://127.0.0.1:8000/items/foo?short=True ``` або ``` http://127.0.0.1:8000/items/foo?short=true ``` або ``` http://127.0.0.1:8000/items/foo?short=on ``` або ``` http://127.0.0.1:8000/items/foo?short=yes ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 7.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/handling-errors.md
### 결과 응답 { #the-resulting-response } 클라이언트가 `http://example.com/items/foo`( `item_id` `"foo"`)를 요청하면, HTTP 상태 코드 200과 다음 JSON 응답을 받습니다: ```JSON { "item": "The Foo Wrestlers" } ``` 하지만 클라이언트가 `http://example.com/items/bar`(존재하지 않는 `item_id` `"bar"`)를 요청하면, HTTP 상태 코드 404("not found" 오류)와 다음 JSON 응답을 받습니다: ```JSON { "detail": "Item not found" } ``` /// tip | 팁Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 10.2K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial002_py310.py
from fastapi import FastAPI from fastapi.routing import APIRoute app = FastAPI() @app.get("/items/") async def read_items(): return [{"item_id": "Foo"}] def use_route_names_as_operation_ids(app: FastAPI) -> None: """ Simplify operation IDs so that generated API clients have simpler function names. Should be called only after all routes have been added. """ for route in app.routes:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 572 bytes - Click Count (0) -
docs/ru/docs/tutorial/query-params.md
В этом случае, если вы сделаете запрос: ``` http://127.0.0.1:8000/items/foo?short=1 ``` или ``` http://127.0.0.1:8000/items/foo?short=True ``` или ``` http://127.0.0.1:8000/items/foo?short=true ``` или ``` http://127.0.0.1:8000/items/foo?short=on ``` или ``` http://127.0.0.1:8000/items/foo?short=yes ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/fr/docs/python-types.md
/// Cela signifie : « la variable `items` est une `list`, et chacun des éléments de cette liste est un `str` ». En faisant cela, votre éditeur peut vous fournir de l'aide même pendant le traitement des éléments de la liste : <img src="/img/python-types/image05.png"> Sans types, c'est presque impossible à réaliser. Remarquez que la variable `item` est l'un des éléments de la liste `items`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.7K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial006_py310.py
from fastapi import FastAPI app = FastAPI() @app.get("/items/", tags=["items"]) async def read_items(): return [{"name": "Foo", "price": 42}] @app.get("/users/", tags=["users"]) async def read_users(): return [{"username": "johndoe"}] @app.get("/elements/", tags=["items"], deprecated=True) async def read_elements():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 365 bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
```JSON { "item": "The Foo Wrestlers" } ``` But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of: ```JSON { "detail": "Item not found" } ``` /// tip When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0)