- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,491 for item2 (0.02 seconds)
-
tests/test_get_request_body.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4.2K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
) def response_model_model1_annotation_model2_return_invalid_dict() -> Item: return {"name": "John"} @app.get( "/response_model_model1-annotation_model2-return_invalid_model", response_model=User ) def response_model_model1_annotation_model2_return_invalid_model() -> Item: return Item(name="Foo", price=42.0) @app.get(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
docs/en/docs/advanced/templates.md
/// ## Writing templates { #writing-templates } Then you can write a template at `templates/item.html` with, for example: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### Template Context Values { #template-context-values } In the HTML that contains: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/ru/docs/advanced/templates.md
/// ## Написание шаблонов { #writing-templates } Затем вы можете создать шаблон в `templates/item.html`, например: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### Значения контекста шаблона { #template-context-values } В HTML, который содержит: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 5K bytes - Click Count (0) -
docs/tr/docs/advanced/templates.md
/// ## Template Yazma { #writing-templates } Ardından örneğin `templates/item.html` konumunda bir template yazabilirsiniz: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### Template Context Değerleri { #template-context-values } Şu HTML içeriğinde: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.8K 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/es/docs/python-types.md
/// Eso significa: "la variable `items` es una `list`, y cada uno de los ítems en esta lista es un `str`". Al hacer eso, tu editor puede proporcionar soporte incluso mientras procesa elementos de la lista: <img src="/img/python-types/image05.png"> Sin tipos, eso es casi imposible de lograr. Nota que la variable `item` es uno de los elementos en la lista `items`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.6K bytes - Click Count (1) -
docs_src/templates/tutorial001_py310.py
app.mount("/static", StaticFiles(directory="static"), name="static") templates = Jinja2Templates(directory="templates") @app.get("/items/{id}", response_class=HTMLResponse) async def read_item(request: Request, id: str): return templates.TemplateResponse( request=request, name="item.html", context={"id": id}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 521 bytes - Click Count (0) -
docs/ko/docs/advanced/additional-responses.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9.6K bytes - Click Count (0) -
docs/zh/docs/advanced/additional-responses.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0)